Author: scabanovich
Date: 2010-06-09 08:12:18 -0400 (Wed, 09 Jun 2010)
New Revision: 22699
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/wizard/NewCDIAnnotationWizardPage.java
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/wizard/NewStereotypeWizardPage.java
Log:
https://jira.jboss.org/browse/JBIDE-6414
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/wizard/NewCDIAnnotationWizardPage.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/wizard/NewCDIAnnotationWizardPage.java 2010-06-09
10:23:32 UTC (rev 22698)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/wizard/NewCDIAnnotationWizardPage.java 2010-06-09
12:12:18 UTC (rev 22699)
@@ -166,4 +166,16 @@
return vs;
}
+ public void setInherited(boolean b) {
+ if(inherited != null) {
+ inherited.composite.setValue(b);
+ }
+ }
+
+ public void setTarget(String s) {
+ if(target != null) {
+ ((CompositeEditor)target).setValue(s);
+ }
+ }
+
}
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/wizard/NewStereotypeWizardPage.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/wizard/NewStereotypeWizardPage.java 2010-06-09
10:23:32 UTC (rev 22698)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/wizard/NewStereotypeWizardPage.java 2010-06-09
12:12:18 UTC (rev 22699)
@@ -83,6 +83,7 @@
protected void createCustomFields(Composite composite) {
createInheritedField(composite, false);
createAlternativeField(composite);
+ createNamedField(composite);
createScopeField(composite);
createTargetField(composite);
}
@@ -150,4 +151,8 @@
}
}
+ public void setNamed(boolean b) {
+ if(named != null) named.composite.setValue(b);
+ }
+
}