Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-09-15 17:19:10 -0400
committerRyan D. Brooks2010-09-15 17:19:10 -0400
commit39881b1e24c6920529454dcbf3c8e2b4805cae84 (patch)
tree379d352a944f543a6d6422f0ec90a3fbd536ffb7 /plugins
parent36e52c037cb795e20e8f381e8d3a6f1b6877ca04 (diff)
downloadorg.eclipse.osee-39881b1e24c6920529454dcbf3c8e2b4805cae84.tar.gz
org.eclipse.osee-39881b1e24c6920529454dcbf3c8e2b4805cae84.tar.xz
org.eclipse.osee-39881b1e24c6920529454dcbf3c8e2b4805cae84.zip
refactor: Remove commented out code from OseeUiActivator and EnumeratedAttribute
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/attribute/EnumeratedAttribute.java3
-rw-r--r--plugins/org.eclipse.osee.framework.ui.plugin/src/org/eclipse/osee/framework/ui/plugin/OseeUiActivator.java25
2 files changed, 0 insertions, 28 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/attribute/EnumeratedAttribute.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/attribute/EnumeratedAttribute.java
index 5434dba669..41531ba487 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/attribute/EnumeratedAttribute.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/attribute/EnumeratedAttribute.java
@@ -29,9 +29,6 @@ public class EnumeratedAttribute extends StringAttribute {
@Override
public boolean subClassSetValue(String value) throws OseeCoreException {
- if (!AttributeTypeManager.getEnumerationValues(getAttributeType()).contains(value)) {
- //throw new OseeArgumentException(value + " is not a valid enumeration of the type " + getAttributeType());
- }
return super.subClassSetValue(value);
}
} \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.framework.ui.plugin/src/org/eclipse/osee/framework/ui/plugin/OseeUiActivator.java b/plugins/org.eclipse.osee.framework.ui.plugin/src/org/eclipse/osee/framework/ui/plugin/OseeUiActivator.java
index 5f7f11f569..c55216b449 100644
--- a/plugins/org.eclipse.osee.framework.ui.plugin/src/org/eclipse/osee/framework/ui/plugin/OseeUiActivator.java
+++ b/plugins/org.eclipse.osee.framework.ui.plugin/src/org/eclipse/osee/framework/ui/plugin/OseeUiActivator.java
@@ -103,31 +103,6 @@ public abstract class OseeUiActivator extends AbstractUIPlugin {
super.stop(context);
}
- /**
- * Returns the Image for the icon with the given path under images/
- *
- * @return the Image object
- * @use ImageManager.getImage
- */
- /*
- * @Deprecated public Image getImage(String imageName) { Image image = getImageFromRegistry(imageName); if (image ==
- * null) { // if image is not already cached ImageDescriptor descriptor = getImageDescriptor(imageName); // if image
- * not found in this plug-in, then look in parent plug-in (if parent exists) if (descriptor == null && parentPlugin
- * != null) { Image ret = parentPlugin.getImage(imageName); if (ret != null) { return ret; } } if (descriptor ==
- * null) { throw new IllegalArgumentException(String.format("The image %s does not exist", imageName)); } image =
- * descriptor.createImage(false); if (image != null) { // cache image only if successfully returned
- * addImageToRegistry(imageName, image); } } return image; }
- */
- /**
- * Returns the ImageDiscriptor from images/ with the given icon name
- *
- * @return the Image object
- * @use ImageManager.getImageDescriptor
- */
- /*
- * @Deprecated public ImageDescriptor getImageDescriptor(String name) { return
- * AbstractUIPlugin.imageDescriptorFromPlugin(getBundle().getSymbolicName(), imagePath + name); }
- */
public Object getBundleHeaderValue(String name) {
return getBundle().getHeaders().get(name);
}

Back to the top