Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-08-25 14:02:46 +0000
committerCamille Letavernier2014-08-25 14:34:36 +0000
commit2e68a7b7c248b9292741762e64d6f0eac011001c (patch)
tree3fe2d63bc33b95cae6724d3dd620508aba6d4ec9 /plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src
parentbf1614fbbf746bc637c527348cba2e2967dc87fd (diff)
downloadorg.eclipse.papyrus-2e68a7b7c248b9292741762e64d6f0eac011001c.tar.gz
org.eclipse.papyrus-2e68a7b7c248b9292741762e64d6f0eac011001c.tar.xz
org.eclipse.papyrus-2e68a7b7c248b9292741762e64d6f0eac011001c.zip
[Code style] Apply clean-up profile to Papyrus Main plug-ins
Diffstat (limited to 'plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src')
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/ISashPanelModel.java2
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageLifeCycleEventsListener.java2
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageVisitor.java2
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/ISashWindowsContainer.java5
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/ITabMouseEventsListener.java2
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/SashTabDecorationSynchronizer.java12
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/SashWindowsEventsProvider.java1
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/TabMouseEventListener.java6
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/AbstractPanelPart.java1
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ActiveEditorServicesSwitcher.java2
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ComponentPart.java1
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/EditorPart.java1
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ImageToolTipManager.java4
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/PagePart.java5
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/PageVisitorWrapper.java1
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashContainerEventsProvider.java12
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashContainerFolderEventsProvider.java4
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashWindowsContainer.java2
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/TabFolderPart.java6
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/TabMouseEventsProvider.java6
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java4
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/ITabTooltipPreferences.java2
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferenceInitializer.java2
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferencePage.java4
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferences.java4
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/multipage/editor/MultiPageEditor.java2
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/IObservableList.java2
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/IObservableListListener.java4
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/ObservableList.java12
29 files changed, 62 insertions, 51 deletions
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/ISashPanelModel.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/ISashPanelModel.java
index f7444e255d5..0eacac2636b 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/ISashPanelModel.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/ISashPanelModel.java
@@ -2,6 +2,8 @@ package org.eclipse.papyrus.infra.core.sasheditor.contentprovider;
import java.util.List;
+import org.eclipse.papyrus.infra.core.sasheditor.internal.SashWindowsContainer;
+
/**
* This is the model for a Sash widget. A Sash contains two children (of type Sash or Folder)
* separated by a sash. The sash can be moved, resizing the children.
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageLifeCycleEventsListener.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageLifeCycleEventsListener.java
index 47cef99fead..3b61789eea6 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageLifeCycleEventsListener.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageLifeCycleEventsListener.java
@@ -55,7 +55,7 @@ public interface IPageLifeCycleEventsListener extends IPageChangedListener {
/**
* This event is never thrown actually.
- *
+ *
* @param page
* The page firing the event.
*/
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageVisitor.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageVisitor.java
index c4b00af1138..9a46bdeeec2 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageVisitor.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageVisitor.java
@@ -3,6 +3,8 @@
*/
package org.eclipse.papyrus.infra.core.sasheditor.editor;
+import org.eclipse.papyrus.infra.core.sasheditor.internal.SashWindowsContainer;
+
/**
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/ISashWindowsContainer.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/ISashWindowsContainer.java
index 56549078211..a559d16e237 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/ISashWindowsContainer.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/ISashWindowsContainer.java
@@ -3,6 +3,7 @@ package org.eclipse.papyrus.infra.core.sasheditor.editor;
import java.util.List;
import org.eclipse.jface.action.MenuManager;
+import org.eclipse.papyrus.infra.core.sasheditor.contentprovider.ISashWindowsContentProvider;
import org.eclipse.papyrus.infra.core.sasheditor.contentprovider.ITabFolderModel;
import org.eclipse.papyrus.infra.core.sasheditor.utils.IObservableList;
import org.eclipse.ui.IEditorPart;
@@ -107,7 +108,7 @@ public interface ISashWindowsContainer {
/**
* Add a listener {@link ITabMouseEventsListener} on folder's tabs events.
- *
+ *
* @param listener
*/
public void addFolderTabMouseEventListener(ITabMouseEventsListener listener);
@@ -123,7 +124,7 @@ public interface ISashWindowsContainer {
/**
* Set a {@link MenuManager} used to manage a contextual menu that is shown on the tabs area of the folders.
- *
+ *
* @param menuManager
* The {@link MenuManager} used to create the menu on the tab area.
*/
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/ITabMouseEventsListener.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/ITabMouseEventsListener.java
index 2ab1ec9b403..3a844c1b1dc 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/ITabMouseEventsListener.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/ITabMouseEventsListener.java
@@ -14,6 +14,8 @@
package org.eclipse.papyrus.infra.core.sasheditor.editor;
+import org.eclipse.papyrus.infra.core.sasheditor.internal.TabFolderPart;
+
/**
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/SashTabDecorationSynchronizer.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/SashTabDecorationSynchronizer.java
index ab5c3547578..e794a146432 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/SashTabDecorationSynchronizer.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/SashTabDecorationSynchronizer.java
@@ -95,7 +95,7 @@ public class SashTabDecorationSynchronizer {
/**
*
* Constructor.
- *
+ *
* @param container
* The container to synchronize.
*
@@ -132,7 +132,7 @@ public class SashTabDecorationSynchronizer {
/**
* Start listening on change for the specified page.
- *
+ *
* @param page
*/
protected void attachPage(IPage page) {
@@ -147,7 +147,7 @@ public class SashTabDecorationSynchronizer {
/**
* Stop listening on change for the specified page.
- *
+ *
* @param page
*/
protected void detachPage(IPage page) {
@@ -169,7 +169,7 @@ public class SashTabDecorationSynchronizer {
/**
* Refresh the tab for the specified page
- *
+ *
* @param page
*/
protected void refreshContainerTabForPage(IPage page) {
@@ -198,7 +198,7 @@ public class SashTabDecorationSynchronizer {
/**
* Visitor to visit all pages of the container and attach the page.
- *
+ *
* @author dumoulin
*
*/
@@ -218,7 +218,7 @@ public class SashTabDecorationSynchronizer {
/**
* Visitor to visit all pages of the container and attach the page.
- *
+ *
* @author dumoulin
*
*/
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/SashWindowsEventsProvider.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/SashWindowsEventsProvider.java
index 515f35cac8d..0afc4007aac 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/SashWindowsEventsProvider.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/SashWindowsEventsProvider.java
@@ -6,6 +6,7 @@ package org.eclipse.papyrus.infra.core.sasheditor.editor;
import java.util.ArrayList;
import java.util.List;
+import org.eclipse.papyrus.infra.core.sasheditor.internal.SashWindowsContainer;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IPartListener;
import org.eclipse.ui.IWorkbenchPage;
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/TabMouseEventListener.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/TabMouseEventListener.java
index ca0c1c216c4..85cd73b65c3 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/TabMouseEventListener.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/TabMouseEventListener.java
@@ -55,7 +55,7 @@ public class TabMouseEventListener implements ITabMouseEventsListener {
/**
* Register this class as a listener of {@link ISashWindowsContainerChangedListener}
- *
+ *
* @param container
*/
private void initialize(ISashWindowsContainer container) {
@@ -67,7 +67,7 @@ public class TabMouseEventListener implements ITabMouseEventsListener {
/**
* Dispose this listener. Unregister all pages, and itself.
- *
+ *
* @param container
* The container used to register this listener.
*
@@ -155,7 +155,7 @@ public class TabMouseEventListener implements ITabMouseEventsListener {
/**
* Double click event detected. Call the associated command.
- *
+ *
* @see org.eclipse.papyrus.infra.core.sasheditor.editor.ITabMouseEventsListener#mouseDoubleClick(org.eclipse.papyrus.infra.core.sasheditor.editor.ITabMouseEvent)
*
* @param event
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/AbstractPanelPart.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/AbstractPanelPart.java
index 5ea9efc9288..1f052fa422a 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/AbstractPanelPart.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/AbstractPanelPart.java
@@ -14,6 +14,7 @@
package org.eclipse.papyrus.infra.core.sasheditor.internal;
+import org.eclipse.papyrus.infra.core.sasheditor.internal.AbstractPart.GarbageState;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.internal.dnd.IDropTarget;
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ActiveEditorServicesSwitcher.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ActiveEditorServicesSwitcher.java
index 6864441b1f0..6df8f1cc909 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ActiveEditorServicesSwitcher.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ActiveEditorServicesSwitcher.java
@@ -14,9 +14,9 @@
package org.eclipse.papyrus.infra.core.sasheditor.internal;
-import org.eclipse.papyrus.infra.core.sasheditor.Activator;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.SelectionChangedEvent;
+import org.eclipse.papyrus.infra.core.sasheditor.Activator;
import org.eclipse.papyrus.infra.core.sasheditor.editor.actionbarcontributor.IMultiPageEditorActionBarContributor;
import org.eclipse.papyrus.infra.core.sasheditor.internal.ActivePageTracker.IActiveEditorChangedListener;
import org.eclipse.papyrus.infra.core.sasheditor.internal.eclipsecopy.MultiPageSelectionProvider;
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ComponentPart.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ComponentPart.java
index e68400d0b38..af61a90a5fc 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ComponentPart.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ComponentPart.java
@@ -18,6 +18,7 @@ import org.eclipse.core.runtime.Status;
import org.eclipse.papyrus.infra.core.sasheditor.Activator;
import org.eclipse.papyrus.infra.core.sasheditor.contentprovider.IComponentModel;
import org.eclipse.papyrus.infra.core.sasheditor.editor.IComponentPage;
+import org.eclipse.papyrus.infra.core.sasheditor.internal.AbstractPart.GarbageState;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Point;
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/EditorPart.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/EditorPart.java
index c1bdb7dddbb..fda6a5e3413 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/EditorPart.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/EditorPart.java
@@ -24,6 +24,7 @@ import org.eclipse.jface.window.Window;
import org.eclipse.papyrus.infra.core.sasheditor.Activator;
import org.eclipse.papyrus.infra.core.sasheditor.contentprovider.IEditorModel;
import org.eclipse.papyrus.infra.core.sasheditor.editor.IEditorPage;
+import org.eclipse.papyrus.infra.core.sasheditor.internal.AbstractPart.GarbageState;
import org.eclipse.papyrus.infra.core.sasheditor.internal.eclipsecopy.IMultiPageEditorSite;
import org.eclipse.papyrus.infra.core.sasheditor.internal.eclipsecopy.MultiPageEditorSite;
import org.eclipse.swt.SWT;
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ImageToolTipManager.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ImageToolTipManager.java
index e3b25ffabf7..678829ea5c4 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ImageToolTipManager.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/ImageToolTipManager.java
@@ -167,7 +167,7 @@ public class ImageToolTipManager {
/**
* Do show th tooltip, unless we can't get an image for the part.
- *
+ *
* @param pagePart
* @param flyedControlBounds
* @param mousePos
@@ -339,7 +339,7 @@ public class ImageToolTipManager {
/**
* get the Image for the page.
- *
+ *
* @param pagePart
* @return
*/
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/PagePart.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/PagePart.java
index 9ccb608c291..3da44a185d3 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/PagePart.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/PagePart.java
@@ -14,6 +14,7 @@
package org.eclipse.papyrus.infra.core.sasheditor.internal;
import org.eclipse.papyrus.infra.core.sasheditor.editor.IPage;
+import org.eclipse.papyrus.infra.core.sasheditor.internal.AbstractPart.GarbageState;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.widgets.Composite;
@@ -57,7 +58,7 @@ public abstract class PagePart extends AbstractPart implements IPage {
/**
* Get the {@link TabItemPart} that is associated to this Page. <br>
* The {@link TabItemPart} represents the tab in the folder.
- *
+ *
* @return
*/
protected TabItemPart getAssociatedTabItemPart() {
@@ -151,7 +152,7 @@ public abstract class PagePart extends AbstractPart implements IPage {
/**
* Return the {@link Widget} of the tab associated to this page.
- *
+ *
* @return The {@link Widget} of the tab.
*/
public Widget getTabWidget() {
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/PageVisitorWrapper.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/PageVisitorWrapper.java
index 9f177e43816..fe958fe9cdd 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/PageVisitorWrapper.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/PageVisitorWrapper.java
@@ -3,7 +3,6 @@
*/
package org.eclipse.papyrus.infra.core.sasheditor.internal;
-import org.eclipse.papyrus.infra.core.sasheditor.editor.IEditorPage;
import org.eclipse.papyrus.infra.core.sasheditor.editor.IPageVisitor;
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashContainerEventsProvider.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashContainerEventsProvider.java
index 0b0696fb210..42dfcf752df 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashContainerEventsProvider.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashContainerEventsProvider.java
@@ -47,7 +47,7 @@ public class SashContainerEventsProvider {
/**
* Notify all listener with event.
- *
+ *
* @param newEditor
*/
public void firePageOpenedEvent(PagePart page) {
@@ -59,7 +59,7 @@ public class SashContainerEventsProvider {
/**
* Notify all listener with event.
- *
+ *
* @param newEditor
*/
public void firePageClosedEvent(PagePart page) {
@@ -71,7 +71,7 @@ public class SashContainerEventsProvider {
/**
* Notify all listener with event.
- *
+ *
* @param newEditor
*/
public void firePageAboutToBeOpenedEvent(PagePart page) {
@@ -83,7 +83,7 @@ public class SashContainerEventsProvider {
/**
* Notify all listener with event.
- *
+ *
* @param newEditor
*/
public void firePageAboutToBeClosedEvent(PagePart page) {
@@ -95,7 +95,7 @@ public class SashContainerEventsProvider {
/**
* Notify all listener with event.
- *
+ *
* @param newEditor
*/
public void firePageActivatedEvent(PagePart page) {
@@ -107,7 +107,7 @@ public class SashContainerEventsProvider {
/**
* Notify all listener with event.
- *
+ *
* @param newEditor
*/
public void firePageDeactivatedEvent(PagePart page) {
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashContainerFolderEventsProvider.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashContainerFolderEventsProvider.java
index 3037d1872f5..17e6b8be48b 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashContainerFolderEventsProvider.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashContainerFolderEventsProvider.java
@@ -64,7 +64,7 @@ public class SashContainerFolderEventsProvider {
/**
* Notify all listener with event.
- *
+ *
* @param newEditor
*/
public void fireFolderCreatedEvent(TabFolderPart folder) {
@@ -76,7 +76,7 @@ public class SashContainerFolderEventsProvider {
/**
* Notify all listener with event.
- *
+ *
* @param newEditor
*/
public void fireFolderDisposedEvent(TabFolderPart folder) {
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashWindowsContainer.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashWindowsContainer.java
index c193d4e792b..d32e94b8dc5 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashWindowsContainer.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/SashWindowsContainer.java
@@ -1078,7 +1078,7 @@ public class SashWindowsContainer implements ISashWindowsContainer {
/**
* Get the event provider used to throw TabMouseEvents.
- *
+ *
* @return the TabMouseEventsProvider
*/
public TabMouseEventsProvider getFolderTabMouseEventProvider() {
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/TabFolderPart.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/TabFolderPart.java
index c6624c58502..61eccba6915 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/TabFolderPart.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/TabFolderPart.java
@@ -143,7 +143,7 @@ public class TabFolderPart extends AbstractTabFolderPart implements IFolder {
/**
* A double click is detected.
- *
+ *
* @see org.eclipse.papyrus.infra.core.sasheditor.internal.PTabFolder.IPTabFolderListener#mouseDoubleClickEvent(int, org.eclipse.swt.events.MouseEvent)
*
* @param itemIndex
@@ -158,7 +158,7 @@ public class TabFolderPart extends AbstractTabFolderPart implements IFolder {
/**
* A double click is detected.
- *
+ *
* @see org.eclipse.papyrus.infra.core.sasheditor.internal.PTabFolder.IPTabFolderListener#mouseDoubleClickEvent(int, org.eclipse.swt.events.MouseEvent)
*
* @param itemIndex
@@ -173,7 +173,7 @@ public class TabFolderPart extends AbstractTabFolderPart implements IFolder {
/**
* A double click is detected.
- *
+ *
* @see org.eclipse.papyrus.infra.core.sasheditor.internal.PTabFolder.IPTabFolderListener#mouseDoubleClickEvent(int, org.eclipse.swt.events.MouseEvent)
*
* @param itemIndex
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/TabMouseEventsProvider.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/TabMouseEventsProvider.java
index 2cf8beed0e5..05da7e2ee40 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/TabMouseEventsProvider.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/TabMouseEventsProvider.java
@@ -59,7 +59,7 @@ public class TabMouseEventsProvider {
/**
* Notify all listener with event.
- *
+ *
* @param newEditor
*/
public void fireMouseDoubleClickEvent(PagePart page, TabFolderPart folder, MouseEvent event) {
@@ -71,7 +71,7 @@ public class TabMouseEventsProvider {
/**
* Notify all listener with event.
- *
+ *
* @param newEditor
*/
public void fireMouseDownEvent(PagePart page, TabFolderPart folder, MouseEvent event) {
@@ -83,7 +83,7 @@ public class TabMouseEventsProvider {
/**
* Notify all listener with event.
- *
+ *
* @param newEditor
*/
public void fireMouseUpEvent(PagePart page, TabFolderPart folder, MouseEvent event) {
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java
index d689e6896a7..fef9d5c8a9a 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java
@@ -395,7 +395,7 @@ public class MultiPageEditorSite implements IMultiPageEditorSite, INestable {
/*
* (non-Javadoc)
- *
+ *
* @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
*/
@Override
@@ -474,7 +474,7 @@ public class MultiPageEditorSite implements IMultiPageEditorSite, INestable {
/*
* (non-Javadoc)
- *
+ *
* @see org.eclipse.ui.IWorkbenchPartSite#getPart()
*/
@Override
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/ITabTooltipPreferences.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/ITabTooltipPreferences.java
index 422bb679328..e1a6e6276bd 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/ITabTooltipPreferences.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/ITabTooltipPreferences.java
@@ -45,7 +45,7 @@ public interface ITabTooltipPreferences {
/**
* Return the delay used to close automatically the tooltip.
- *
+ *
* @return The delay in millisecond or -1 if there is no delay.
*/
public abstract int getTooltipAutoCloseDelay();
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferenceInitializer.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferenceInitializer.java
index de0bd4aee17..8845bdc164f 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferenceInitializer.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferenceInitializer.java
@@ -28,7 +28,7 @@ public class TabTooltipPreferenceInitializer extends AbstractPreferenceInitializ
/**
* Subclasses may implements this method in order to provide the requested preferenceStore.
- *
+ *
* @return
*/
protected IPreferenceStore createPreferenceStore() {
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferencePage.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferencePage.java
index f99fdc3b209..06e0e34ae60 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferencePage.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferencePage.java
@@ -36,7 +36,7 @@ public class TabTooltipPreferencePage extends FieldEditorPreferencePage implemen
/**
* Subclasses may implements this method in order to provide the requested preferenceStore.
- *
+ *
* @return
*/
protected IPreferenceStore createPreferenceStore() {
@@ -66,7 +66,7 @@ public class TabTooltipPreferencePage extends FieldEditorPreferencePage implemen
/*
* (non-Javadoc)
- *
+ *
* @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
*/
@Override
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferences.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferences.java
index d67cc7bc68a..8b8746b859e 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferences.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/preferences/TabTooltipPreferences.java
@@ -11,7 +11,7 @@ import org.eclipse.ui.preferences.ScopedPreferenceStore;
/**
* An implementation retrieving values from Eclipse preferences
- *
+ *
* @author cedric dumoulin
*
*/
@@ -29,7 +29,7 @@ public class TabTooltipPreferences implements ITabTooltipPreferences {
/**
* Subclasses may implements this method in order to provide the requested preferenceStore.
- *
+ *
* @return
*/
protected IPreferenceStore createPreferenceStore() {
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/multipage/editor/MultiPageEditor.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/multipage/editor/MultiPageEditor.java
index 36478aa57d4..cdd83b44868 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/multipage/editor/MultiPageEditor.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/multipage/editor/MultiPageEditor.java
@@ -336,7 +336,7 @@ public abstract class MultiPageEditor extends MultiPageEditorPart {
/*
* (non-Javadoc)
- *
+ *
* @see org.eclipse.ui.part.MultiPageEditorPart#removePage(int)
*/
@Override
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/IObservableList.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/IObservableList.java
index ec743923837..be948546e53 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/IObservableList.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/IObservableList.java
@@ -34,7 +34,7 @@ public interface IObservableList<E> extends List<E> {
/**
* Remove the listener from the list.
- *
+ *
* @param listener
*/
public void removeListener(IObservableListListener<E> listener);
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/IObservableListListener.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/IObservableListListener.java
index 54b32622dfd..4c6eb0c00a1 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/IObservableListListener.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/IObservableListListener.java
@@ -29,14 +29,14 @@ public interface IObservableListListener<E> {
/**
* Method called when an element is added to the list.
- *
+ *
* @param element
*/
public void elementAdded(E element);
/**
* Method called when an element is removed from the list.
- *
+ *
* @param element
*/
public void elementRemoved(E element);
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/ObservableList.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/ObservableList.java
index 80f501c29f7..a6053b2b871 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/ObservableList.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/utils/ObservableList.java
@@ -54,7 +54,7 @@ public class ObservableList<T> extends ArrayList<T> implements IObservableList<T
/**
* For testing purpose.
- *
+ *
* @return the listeners
*/
protected List<IObservableListListener<T>> getListeners() {
@@ -63,7 +63,7 @@ public class ObservableList<T> extends ArrayList<T> implements IObservableList<T
/**
* Add a listener on list change event event.
- *
+ *
* @see org.eclipse.papyrus.infra.core.sasheditor.utils.IObservableList#addListener(org.eclipse.papyrus.infra.core.sasheditor.utils.IObservableListListener)
*
* @param listener
@@ -79,7 +79,7 @@ public class ObservableList<T> extends ArrayList<T> implements IObservableList<T
/**
* Remove a listener on the list.
- *
+ *
* @see org.eclipse.papyrus.infra.core.sasheditor.utils.IObservableList#removeListener(org.eclipse.papyrus.infra.core.sasheditor.utils.IObservableListListener)
*
* @param listener
@@ -92,7 +92,7 @@ public class ObservableList<T> extends ArrayList<T> implements IObservableList<T
/**
* Notify all listener with event.
- *
+ *
* @param element
* The newly added element
*/
@@ -105,7 +105,7 @@ public class ObservableList<T> extends ArrayList<T> implements IObservableList<T
/**
* Notify all listener with event.
- *
+ *
* @param element
* The removed element.
*/
@@ -118,7 +118,7 @@ public class ObservableList<T> extends ArrayList<T> implements IObservableList<T
/**
* Add the element, and fire the appropriate event.
- *
+ *
* @see java.util.ArrayList#add(java.lang.Object)
*
* @param e

Back to the top