Fix of bugs no.: 24115, 23344. BLD200205290100
authortzezula@netbeans.org
Tue, 28 May 2002 17:46:34 +0000
changeset 2284399018b32723
parent 2283 a9a0593ffa1c
child 2285 afa23a6e1cc1
Fix of bugs no.: 24115, 23344.
jndi/src/org/netbeans/modules/jndi/Bundle.properties
jndi/src/org/netbeans/modules/jndi/JndiNode.java
jndi/src/org/netbeans/modules/jndi/JndiObjectNode.java
     1.1 --- a/jndi/src/org/netbeans/modules/jndi/Bundle.properties	Mon May 27 17:11:11 2002 +0000
     1.2 +++ b/jndi/src/org/netbeans/modules/jndi/Bundle.properties	Tue May 28 17:46:34 2002 +0000
     1.3 @@ -26,16 +26,16 @@
     1.4  # name of the RefreshAction
     1.5  CTL_RefreshName=Refresh
     1.6  CTL_JNDI_PROP_TITLE=JNDI Support Settings
     1.7 -CTL_NEW_PROVIDER=Provider ...
     1.8 +CTL_NEW_PROVIDER=Provider...
     1.9  CTL_TestProvider=Test Provider
    1.10  CTL_BindingCopy=Copy Binding Code
    1.11  CTL_LookupCopy=Copy Lookup Code
    1.12 -CTL_ConnectUsing=Connect Using ...
    1.13 +CTL_ConnectUsing=Connect Using...
    1.14  TXT_DisconnectCtx=Disconnect Context
    1.15  TXT_SubContextName=Context Name:
    1.16 -CTL_Context=Context ...
    1.17 -CTL_Directory=Directory ...
    1.18 -CTL_EditProperty=Edit Attribute List ...
    1.19 +CTL_Context=Context...
    1.20 +CTL_Directory=Directory...
    1.21 +CTL_EditProperty=Edit Attribute List...
    1.22  EXC_Params=The item's name and value must be entered!
    1.23  EXC_ClassNotFound=The specified factory is not properly installed or the name is malformed.
    1.24  EXC_Items=The Label, Factory, Context and Root items must be entered!
    1.25 @@ -85,9 +85,9 @@
    1.26  TXT_Principal=Principal:
    1.27  TXT_Credentials=Credentials:
    1.28  TXT_OtherProps=Other Properties\:
    1.29 -TXT_Add=Add ...
    1.30 +TXT_Add=Add...
    1.31  TXT_Rem=Remove
    1.32 -TXT_Change= Edit ... 
    1.33 +TXT_Change= Edit... 
    1.34  TXT_Name=Name
    1.35  TXT_Path=Path
    1.36  TXT_Class=Class
    1.37 @@ -95,15 +95,15 @@
    1.38  TXT_Root=Context Root\:
    1.39  TXT_AttributeName=Name\:
    1.40  TXT_AttributeValue=Value\:
    1.41 -TXT_AddAttribute=Add ...
    1.42 +TXT_AddAttribute=Add...
    1.43  TXT_RemoveAttribute=Remove
    1.44 -TXT_ModifyAttribute=Edit ...
    1.45 +TXT_ModifyAttribute=Edit...
    1.46  TXT_AttributeList=List of Object Attributes\:
    1.47  TXT_Start=Context Root
    1.48  STS_CopyBindingCode=Binding code generated to clipboard.
    1.49  STS_CopyLookupCode=Lookup code generated to clipboard.
    1.50 -TITLE_WaitNode=Please wait ...
    1.51 -TITLE_WaitOnConnect=Please wait for the remote service to connect ...
    1.52 +TITLE_WaitNode=Please wait...
    1.53 +TITLE_WaitOnConnect=Please wait for the remote service to connect...
    1.54  TITLE_Connected=Connected to the directory service.
    1.55  TXT_ConnectFailed=Connection to the directory service failed.
    1.56  TXT_Connected=Connected to the directory service.
     2.1 --- a/jndi/src/org/netbeans/modules/jndi/JndiNode.java	Mon May 27 17:11:11 2002 +0000
     2.2 +++ b/jndi/src/org/netbeans/modules/jndi/JndiNode.java	Tue May 28 17:46:34 2002 +0000
     2.3 @@ -88,6 +88,10 @@
     2.4      public boolean isRoot() {
     2.5          return this.index != -1;
     2.6      }
     2.7 +    
     2.8 +    public boolean canDestroy () {
     2.9 +        return ! this.isRoot();
    2.10 +    }
    2.11  
    2.12      /** This method creates template for accessing this node
    2.13       *  @return String java source code
     3.1 --- a/jndi/src/org/netbeans/modules/jndi/JndiObjectNode.java	Mon May 27 17:11:11 2002 +0000
     3.2 +++ b/jndi/src/org/netbeans/modules/jndi/JndiObjectNode.java	Tue May 28 17:46:34 2002 +0000
     3.3 @@ -78,7 +78,7 @@
     3.4      }
     3.5  
     3.6      /** @return @link isRoot */
     3.7 -    public final boolean canDestroy() {
     3.8 +    public boolean canDestroy() {
     3.9          return true;
    3.10      }
    3.11