Permalink
Browse files

[#144]: Migration to Eclipse 2018-12

Added new target platform - using releng tools for this purpose now

Task-Url: http://github.com/roberthilbrich/assist-public/issues/144
  • Loading branch information...
RobertHilbrich committed Jan 9, 2019
1 parent ed1076b commit add0c0eb221205762a9a9fd4ab3c5ba327c42b99
Showing with 842 additions and 55 deletions.
  1. +6 −0 ch.hilbri.assist.model.edit/src/ch/hilbri/assist/model/provider/ModelItemProviderAdapterFactory.java
  2. +3 −1 ch.hilbri.assist.model.editor/src/ch/hilbri/assist/model/presentation/ModelActionBarContributor.java
  3. +25 −0 ch.hilbri.assist.model.editor/src/ch/hilbri/assist/model/presentation/ModelEditor.java
  4. +3 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/Color.java
  5. +3 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/DesignAssuranceLevelType.java
  6. +3 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/DissimilarityAttributes.java
  7. +3 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/HardwareArchitectureLevelType.java
  8. +3 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/PeriodicityType.java
  9. +7 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/AbstractDSEMetricImpl.java
  10. +9 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/AbstractMappingMetricImpl.java
  11. +3 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/ApplicationAlternativeImpl.java
  12. +7 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/ApplicationImpl.java
  13. +2 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/AssignedCorePropertyImpl.java
  14. +25 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/AssistModelImpl.java
  15. +3 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/BoardAlternativeImpl.java
  16. +17 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/BoardImpl.java
  17. +8 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/BoxImpl.java
  18. +2 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/ColorPropertyImpl.java
  19. +8 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/CompartmentImpl.java
  20. +6 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/ComplexRelationImpl.java
  21. +7 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/CoreImpl.java
  22. +2 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/CriticalityLevelPropertyImpl.java
  23. +2 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/CustomIntPropertyImpl.java
  24. +2 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/CustomPropertyImpl.java
  25. +2 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/CustomStringPropertyImpl.java
  26. +2 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/DesignAssuranceLevelPropertyImpl.java
  27. +1 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/DissimilarityConjunctionImpl.java
  28. +1 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/DissimilarityDisjunctionImpl.java
  29. +3 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/DissimilarityEntryImpl.java
  30. +2 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/DissimilarityRelationImpl.java
  31. +5 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/ExplorationCandidateImpl.java
  32. +12 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/ExplorationResultImpl.java
  33. +9 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/FeatureImpl.java
  34. +9 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/FeatureRequirementImpl.java
  35. +11 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/HardwareElementImpl.java
  36. +2 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/IntPropertyImpl.java
  37. +5 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/MappingRelationImpl.java
  38. +26 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/MappingResultImpl.java
  39. +6 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/MetricScorePairImpl.java
  40. +73 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/ModelFactoryImpl.java
  41. +312 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/ModelPackageImpl.java
  42. +2 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/PeriodicityPropertyImpl.java
  43. +7 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/ProcessorImpl.java
  44. +1 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/PropertyImpl.java
  45. +5 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/RestrictionAlternativeImpl.java
  46. +8 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/SchedulingResultImpl.java
  47. +2 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/SimpleRelationImpl.java
  48. +14 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/SingleMappingElementImpl.java
  49. +8 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/SoftwareElementImpl.java
  50. +2 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/StringPropertyImpl.java
  51. +5 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/TaskExecutionInstanceImpl.java
  52. +35 −0 ch.hilbri.assist.model/src-gen/ch/hilbri/assist/model/impl/TaskImpl.java
  53. +6 −0 ch.hilbri.assist.releng.targetplatform/.project
  54. +54 −54 ch.hilbri.assist.releng.targetplatform/ch.hilbri.assist.releng.targetplatform.target
  55. +53 −0 ch.hilbri.assist.releng.targetplatform/ch.hilbri.assist.releng.targetplatform.tpd
@@ -1756,6 +1756,7 @@ public Adapter createTaskExecutionInstanceAdapter() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public ComposeableAdapterFactory getRootAdapterFactory() {
return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
}
@@ -1766,6 +1767,7 @@ public ComposeableAdapterFactory getRootAdapterFactory() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
this.parentAdapterFactory = parentAdapterFactory;
}
@@ -1814,6 +1816,7 @@ public Object adapt(Object object, Object type) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public void addListener(INotifyChangedListener notifyChangedListener) {
changeNotifier.addListener(notifyChangedListener);
}
@@ -1824,6 +1827,7 @@ public void addListener(INotifyChangedListener notifyChangedListener) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public void removeListener(INotifyChangedListener notifyChangedListener) {
changeNotifier.removeListener(notifyChangedListener);
}
@@ -1834,6 +1838,7 @@ public void removeListener(INotifyChangedListener notifyChangedListener) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public void fireNotifyChanged(Notification notification) {
changeNotifier.fireNotifyChanged(notification);

@@ -1848,6 +1853,7 @@ public void fireNotifyChanged(Notification notification) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public void dispose() {
if (propertyItemProvider != null) propertyItemProvider.dispose();
if (stringPropertyItemProvider != null) stringPropertyItemProvider.dispose();
@@ -200,6 +200,7 @@ public void contributeToMenu(IMenuManager menuManager) {
//
submenuManager.addMenuListener
(new IMenuListener() {
@Override
public void menuAboutToShow(IMenuManager menuManager) {
menuManager.updateAll(true);
}
@@ -247,7 +248,8 @@ public void setActiveEditor(IEditorPart part) {
* <!-- end-user-doc -->
* @generated
*/
public void selectionChanged(SelectionChangedEvent event) {
@Override
public void selectionChanged(SelectionChangedEvent event) {
// Remove any menu items for old selection.
//
if (createChildMenuManager != null) {
@@ -325,6 +325,7 @@
*/
protected IPartListener partListener =
new IPartListener() {
@Override
public void partActivated(IWorkbenchPart p) {
if (p instanceof ContentOutline) {
if (((ContentOutline)p).getCurrentPage() == contentOutlinePage) {
@@ -343,15 +344,19 @@ else if (p == ModelEditor.this) {
handleActivate();
}
}
@Override
public void partBroughtToTop(IWorkbenchPart p) {
// Ignore.
}
@Override
public void partClosed(IWorkbenchPart p) {
// Ignore.
}
@Override
public void partDeactivated(IWorkbenchPart p) {
// Ignore.
}
@Override
public void partOpened(IWorkbenchPart p) {
// Ignore.
}
@@ -437,6 +442,7 @@ protected void dispatchUpdateProblemIndication() {
dispatching = true;
getSite().getShell().getDisplay().asyncExec
(new Runnable() {
@Override
public void run() {
dispatching = false;
updateProblemIndication();
@@ -466,6 +472,7 @@ protected void unsetTarget(Resource target) {
*/
protected IResourceChangeListener resourceChangeListener =
new IResourceChangeListener() {
@Override
public void resourceChanged(IResourceChangeEvent event) {
IResourceDelta delta = event.getDelta();
try {
@@ -474,6 +481,7 @@ public void resourceChanged(IResourceChangeEvent event) {
protected Collection<Resource> changedResources = new ArrayList<Resource>();
protected Collection<Resource> removedResources = new ArrayList<Resource>();

@Override
public boolean visit(IResourceDelta delta) {
if (delta.getResource().getType() == IResource.FILE) {
if (delta.getKind() == IResourceDelta.REMOVED ||
@@ -509,6 +517,7 @@ else if (!savedResources.remove(resource)) {
if (!visitor.getRemovedResources().isEmpty()) {
getSite().getShell().getDisplay().asyncExec
(new Runnable() {
@Override
public void run() {
removedResources.addAll(visitor.getRemovedResources());
if (!isDirty()) {
@@ -521,6 +530,7 @@ public void run() {
if (!visitor.getChangedResources().isEmpty()) {
getSite().getShell().getDisplay().asyncExec
(new Runnable() {
@Override
public void run() {
changedResources.addAll(visitor.getChangedResources());
if (getSite().getPage().getActiveEditor() == ModelEditor.this) {
@@ -711,9 +721,11 @@ protected void initializeEditingDomain() {
//
commandStack.addCommandStackListener
(new CommandStackListener() {
@Override
public void commandStackChanged(final EventObject event) {
getContainer().getDisplay().asyncExec
(new Runnable() {
@Override
public void run() {
firePropertyChange(IEditorPart.PROP_DIRTY);

@@ -766,6 +778,7 @@ public void setSelectionToViewer(Collection<?> collection) {
if (theSelection != null && !theSelection.isEmpty()) {
Runnable runnable =
new Runnable() {
@Override
public void run() {
// Try to select the items in the current content viewer of the editor.
//
@@ -786,6 +799,7 @@ public void run() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public EditingDomain getEditingDomain() {
return editingDomain;
}
@@ -882,6 +896,7 @@ public void setCurrentViewer(Viewer viewer) {
new ISelectionChangedListener() {
// This just notifies those things that are affected by the section.
//
@Override
public void selectionChanged(SelectionChangedEvent selectionChangedEvent) {
setSelection(selectionChangedEvent.getSelection());
}
@@ -916,6 +931,7 @@ public void selectionChanged(SelectionChangedEvent selectionChangedEvent) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public Viewer getViewer() {
return currentViewer;
}
@@ -1221,6 +1237,7 @@ public void requestActivation() {

getSite().getShell().getDisplay().asyncExec
(new Runnable() {
@Override
public void run() {
if (!getContainer().isDisposed()) {
setActivePage(0);
@@ -1247,6 +1264,7 @@ public void controlResized(ControlEvent event) {

getSite().getShell().getDisplay().asyncExec
(new Runnable() {
@Override
public void run() {
updateProblemIndication();
}
@@ -1382,6 +1400,7 @@ public void setActionBars(IActionBars actionBars) {
(new ISelectionChangedListener() {
// This ensures that we handle selections correctly.
//
@Override
public void selectionChanged(SelectionChangedEvent event) {
handleContentOutlineSelection(event.getSelection());
}
@@ -1606,6 +1625,7 @@ protected void doSaveAs(URI uri, IEditorInput editorInput) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public void gotoMarker(IMarker marker) {
List<?> targetObjects = markerHelper.getTargetObjects(editingDomain, marker);
if (!targetObjects.isEmpty()) {
@@ -1650,6 +1670,7 @@ public void setFocus() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public void addSelectionChangedListener(ISelectionChangedListener listener) {
selectionChangedListeners.add(listener);
}
@@ -1660,6 +1681,7 @@ public void addSelectionChangedListener(ISelectionChangedListener listener) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public void removeSelectionChangedListener(ISelectionChangedListener listener) {
selectionChangedListeners.remove(listener);
}
@@ -1670,6 +1692,7 @@ public void removeSelectionChangedListener(ISelectionChangedListener listener) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public ISelection getSelection() {
return editorSelection;
}
@@ -1681,6 +1704,7 @@ public ISelection getSelection() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public void setSelection(ISelection selection) {
editorSelection = selection;

@@ -1750,6 +1774,7 @@ private static String getString(String key, Object s1) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public void menuAboutToShow(IMenuManager menuManager) {
((IMenuListener)getEditorSite().getActionBarContributor()).menuAboutToShow(menuManager);
}
@@ -583,6 +583,7 @@ private Color(int value, String name, String literal) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public int getValue() {
return value;
}
@@ -592,6 +593,7 @@ public int getValue() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getName() {
return name;
}
@@ -601,6 +603,7 @@ public String getName() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getLiteral() {
return literal;
}
@@ -286,6 +286,7 @@ private DesignAssuranceLevelType(int value, String name, String literal) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public int getValue() {
return value;
}
@@ -295,6 +296,7 @@ public int getValue() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getName() {
return name;
}
@@ -304,6 +306,7 @@ public String getName() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getLiteral() {
return literal;
}
@@ -385,6 +385,7 @@ private DissimilarityAttributes(int value, String name, String literal) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public int getValue() {
return value;
}
@@ -394,6 +395,7 @@ public int getValue() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getName() {
return name;
}
@@ -403,6 +405,7 @@ public String getName() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getLiteral() {
return literal;
}
@@ -262,6 +262,7 @@ private HardwareArchitectureLevelType(int value, String name, String literal) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public int getValue() {
return value;
}
@@ -271,6 +272,7 @@ public int getValue() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getName() {
return name;
}
@@ -280,6 +282,7 @@ public String getName() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getLiteral() {
return literal;
}
@@ -178,6 +178,7 @@ private PeriodicityType(int value, String name, String literal) {
* <!-- end-user-doc -->
* @generated
*/
@Override
public int getValue() {
return value;
}
@@ -187,6 +188,7 @@ public int getValue() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getName() {
return name;
}
@@ -196,6 +198,7 @@ public String getName() {
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getLiteral() {
return literal;
}
Oops, something went wrong.

0 comments on commit add0c0e

Please sign in to comment.