[jbosside-issues] [JBoss JIRA] Created: (JBIDE-424) Blank page in NewSessionBeanWizard when nothing is selected
by Max Andersen (JIRA)
Blank page in NewSessionBeanWizard when nothing is selected
-----------------------------------------------------------
Key: JBIDE-424
URL: http://jira.jboss.com/jira/browse/JBIDE-424
Project: JBoss IDE
Issue Type: Patch
Components: EJB3 plugin
Affects Versions: 2.0.0.Beta2
Reporter: Max Andersen
Assigned To: Marshall Culpepper
Found this during the demo at JBW.
When nothing is selected one gets a blank wizard page. Here is the patch i made against JBW_BERLIN tag.
### Eclipse Workspace Patch 1.0
#P org.jboss.ide.eclipse.ejb3.wizards.ui
Index: src/main/org/jboss/ide/eclipse/ejb3/ui/wizards/pages/NewSessionBeanWizardPage.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/ejb3/plugins/org.jboss.ide.eclipse.ejb3.wizards.ui/src/main/org/jboss/ide/eclipse/ejb3/ui/wizards/pages/NewSessionBeanWizardPage.java,v
retrieving revision 1.2
diff -u -r1.2 NewSessionBeanWizardPage.java
--- src/main/org/jboss/ide/eclipse/ejb3/ui/wizards/pages/NewSessionBeanWizardPage.java 6 Nov 2006 17:18:38 -0000 1.2
+++ src/main/org/jboss/ide/eclipse/ejb3/ui/wizards/pages/NewSessionBeanWizardPage.java 29 Nov 2006 10:40:42 -0000
@@ -173,7 +173,7 @@
setControl(composite);
IJavaElement element = getInitialJavaElement(selection);
- if (element.getElementType() == IJavaElement.PACKAGE_FRAGMENT)
+ if (element!=null && element.getElementType() == IJavaElement.PACKAGE_FRAGMENT)
// || element.getElementType() == IJavaElement.PACKAGE_FRAGMENT_ROOT)
{
beanPackageName.setText(element.getElementName());
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 3 months
[jbosside-issues] [JBoss JIRA] Created: (JBIDE-410) Twiddle help should not be external
by Max Andersen (JIRA)
Twiddle help should not be external
------------------------------------
Key: JBIDE-410
URL: http://jira.jboss.com/jira/browse/JBIDE-410
Project: JBoss IDE
Issue Type: Feature Request
Components: JBossAS Adapter
Reporter: Max Andersen
Assigned To: Robert Stryker
currently clicking "Twiddle help" opens up some webpage where the relevant content is a mile down.
It shouuld instead be in eclipse help and thus a sidebar to the dialog + we shuold include the dos (or some of them) with the plugin and then add links to external webpages (or optimal the docs that the runtime points to)
But first foremost try and avoid first class help links that points to something external which a laptop user not connected to the net can use for anything
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months