summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Maggi2014-04-25 11:41:48 (EDT)
committerCamille Letavernier2014-04-30 10:23:15 (EDT)
commit0e6f5dfe128e9df271b4c66464d546491914afb5 (patch)
tree355d3d4871e8915fe98eb11a3b06797c19882c09
parent655ee4fa0aea70fd0f4ca56c7bb2b04d90b3e1ac (diff)
downloadorg.eclipse.papyrus-0e6f5dfe128e9df271b4c66464d546491914afb5.zip
org.eclipse.papyrus-0e6f5dfe128e9df271b4c66464d546491914afb5.tar.gz
org.eclipse.papyrus-0e6f5dfe128e9df271b4c66464d546491914afb5.tar.bz2
[Clean] Remove references to deprecated Papyrustracerefs/changes/74/25574/2
Change-Id: Ie89ee2ccfb87b1c7bf3fd600beae32f4888cdaac Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/part/PapyrusPalettePreferences.java20
1 files changed, 9 insertions, 11 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/part/PapyrusPalettePreferences.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/part/PapyrusPalettePreferences.java
index 3a8b279..e1c5263 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/part/PapyrusPalettePreferences.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/part/PapyrusPalettePreferences.java
@@ -20,11 +20,9 @@ import java.util.List;
import java.util.Set;
import java.util.StringTokenizer;
-import org.eclipse.core.runtime.IStatus;
import org.eclipse.gmf.runtime.common.core.service.ProviderPriority;
import org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette;
import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.papyrus.infra.core.utils.PapyrusTrace;
import org.eclipse.papyrus.uml.diagram.common.Activator;
import org.eclipse.papyrus.uml.diagram.common.service.IPapyrusPaletteConstant;
import org.eclipse.papyrus.uml.diagram.common.service.PapyrusPaletteService.ExtendedProviderDescriptor;
@@ -104,7 +102,7 @@ public class PapyrusPalettePreferences implements IPapyrusPaletteConstant {
return XMLMemento.createWriteRoot(PALETTE_CUSTOMIZATIONS_ID);
}
} catch (WorkbenchException e) {
- Activator.getDefault().logError("Impossible to read preferences", e);
+ Activator.getDefault().logError("Impossible to read preferences", e); //$NON-NLS-1$
}
return null;
}
@@ -126,7 +124,7 @@ public class PapyrusPalettePreferences implements IPapyrusPaletteConstant {
return XMLMemento.createWriteRoot(PALETTE_REDEFINITIONS);
}
} catch (WorkbenchException e) {
- Activator.getDefault().logError("Impossible to read preferences for palette local redefinitions", e);
+ Activator.getDefault().logError("Impossible to read preferences for palette local redefinitions", e); //$NON-NLS-1$
}
return null;
}
@@ -195,7 +193,7 @@ public class PapyrusPalettePreferences implements IPapyrusPaletteConstant {
getPreferenceStore().setValue(key, writer.toString());
}
} catch (IOException e) {
- Activator.getDefault().logError("input/ouput exception", e);
+ Activator.getDefault().logError("input/ouput exception", e); //$NON-NLS-1$
}
}
@@ -299,7 +297,7 @@ public class PapyrusPalettePreferences implements IPapyrusPaletteConstant {
*/
public static String getPaletteRedefinition(String paletteID) {
if(paletteID == null) {
- Activator.log.debug("Trying to find preferences for a null palette identifier");
+ Activator.log.debug("Trying to find preferences for a null palette identifier"); //$NON-NLS-1$
}
IMemento memento = getPaletteRedefinitionNode(paletteID);
if(memento != null) {
@@ -452,7 +450,7 @@ public class PapyrusPalettePreferences implements IPapyrusPaletteConstant {
return XMLMemento.createWriteRoot(PALETTE_LOCAL_DEFINITIONS);
}
} catch (WorkbenchException e) {
- Activator.getDefault().logError("Impossible to read preferences", e);
+ Activator.getDefault().logError("Impossible to read preferences", e); //$NON-NLS-1$
}
return null;
}
@@ -474,7 +472,7 @@ public class PapyrusPalettePreferences implements IPapyrusPaletteConstant {
return XMLMemento.createWriteRoot(PALETTE_WORKSPACE_DEFINITIONS);
}
} catch (WorkbenchException e) {
- Activator.getDefault().logError("Impossible to read preferences", e);
+ Activator.getDefault().logError("Impossible to read preferences", e); //$NON-NLS-1$
}
return null;
}
@@ -691,7 +689,7 @@ public class PapyrusPalettePreferences implements IPapyrusPaletteConstant {
// search existing customization
IMemento paletteMemento = searchPaletteMemento(rootMemento, id);
if(paletteMemento == null) {
- Activator.log.warn("impossible to find the palette with id: " + id);
+ Activator.log.warn("impossible to find the palette with id: " + id); //$NON-NLS-1$
return;
}
// no remove method...
@@ -718,7 +716,7 @@ public class PapyrusPalettePreferences implements IPapyrusPaletteConstant {
// search existing customization
IMemento paletteMemento = searchPaletteMemento(rootMemento, id);
if(paletteMemento == null) {
- Activator.log.warn("impossible to find the palette in workspace with id: " + id);
+ Activator.log.warn("impossible to find the palette in workspace with id: " + id); //$NON-NLS-1$
return;
}
// no remove method...
@@ -795,7 +793,7 @@ public class PapyrusPalettePreferences implements IPapyrusPaletteConstant {
// retrieve the file in the descriptor
path = descriptor.createLocalRedefinition();
if(path == null) {
- Activator.log.error("There was an error during creation of the local file", null);
+ Activator.log.error("There was an error during creation of the local file", null); //$NON-NLS-1$
return;
}
// finally, register the new redefinition