Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3212,6 +3212,8 @@ public class PDEUIMessages extends NLS {

public static String TargetEditor_6;

public static String TargetEditor_7;

public static String FeatureImportWizardPage_importHasInvalid;

public static String ProductInfoSection_plugins;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ protected void pageChange(int newPageIndex) {
setActivePage(fSourceTabIndex);
CoreException ce = new CoreException(Status.error(e.getMessage(), e));
showError(PDEUIMessages.TargetEditor_5, ce);
} catch (IllegalArgumentException e) {
setActivePage(fSourceTabIndex);
CoreException ce = new CoreException(Status.error(e.getMessage(), e));
showError(PDEUIMessages.TargetEditor_7, ce);
}
}

Expand Down Expand Up @@ -560,6 +564,9 @@ private ITargetDefinition loadTargetDefinition() throws CoreException {
} catch (CoreException e) {
fTarget = service.newTarget();
throw e;
} catch (IllegalArgumentException e) {
fTarget = service.newTarget();
throw new CoreException(Status.error(e.getMessage(), e));
}
PlatformUI.getWorkbench().getDisplay().asyncExec(
() -> TargetEditor.this.getTargetChangedListener().contentsChanged(fTarget, this, true, false));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1994,6 +1994,7 @@ TargetEditor_3=Unable to perform save
TargetEditor_4=Target Editor
TargetEditor_5=Unable to load target definition model. Fix the target definition model in Source View.
TargetEditor_6=The editor input ''{0}'' is not supported.
TargetEditor_7=Unable to parse the IU version
TargetCreationPage_0=Initialize the target definition with:
TargetCreationPage_1=Nothing: Start &with an empty target definition
TargetCreationPage_2=&Default: Default target for the running platform
Expand Down
Loading