Interface URLProperties


  • public interface URLProperties
    Represent a URL
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getBaseURL()
      Get base url, the base URL is either url to configuration file (http,https and file protocol is supported) or folder to root of project on local system (file protocol is supported)
      org.openide.util.Lookup getLookup()
      lookup with already initialized objects
      java.util.Map<java.lang.String,​java.lang.String> getProperties()
      Construct new instance of java.util.Properties
      java.lang.String getProperty​(StandardProperty name)  
      java.lang.String getProperty​(java.lang.String name)  
      org.openide.nodes.Node[] getSelectedNodes()
      Get selected nodes before the Create URL action is invoked.
      boolean isShared()  
      void setBaseURL​(java.lang.String url)
      Set base url, the base URL is either url to configuration file (http,https and file protocol is supported) or folder to root of project on local system (file protocol is supported)
      boolean setDFItem​(com.im.df.api.ddl.DFItem item)
      Initialize properties from DFItem
      void setProperty​(StandardProperty propertyName, java.lang.String value)  
      void setProperty​(java.lang.String name, java.lang.String value)  
      void setURLAction​(URLTask action)
      set action to URL
      java.lang.String toExternalForm()
      get url in textual form
    • Method Detail

      • getProperty

        java.lang.String getProperty​(java.lang.String name)
      • setProperty

        void setProperty​(StandardProperty propertyName,
                         java.lang.String value)
      • setProperty

        void setProperty​(java.lang.String name,
                         java.lang.String value)
      • setURLAction

        void setURLAction​(URLTask action)
        set action to URL
      • setBaseURL

        void setBaseURL​(java.lang.String url)
        Set base url, the base URL is either url to configuration file (http,https and file protocol is supported) or folder to root of project on local system (file protocol is supported)
      • getBaseURL

        java.lang.String getBaseURL()
        Get base url, the base URL is either url to configuration file (http,https and file protocol is supported) or folder to root of project on local system (file protocol is supported)
        Returns:
        Null if url was not initialed (set)
      • setDFItem

        boolean setDFItem​(com.im.df.api.ddl.DFItem item)
        Initialize properties from DFItem
        Parameters:
        item - The i nput DFItem
        Returns:
        False if the DFItem type is not supported
      • getProperties

        java.util.Map<java.lang.String,​java.lang.String> getProperties()
        Construct new instance of java.util.Properties
        Returns:
        The new properties
      • toExternalForm

        java.lang.String toExternalForm()
        get url in textual form
        Returns:
        Null if getBaseURL() is null
      • getLookup

        org.openide.util.Lookup getLookup()
        lookup with already initialized objects
      • getSelectedNodes

        org.openide.nodes.Node[] getSelectedNodes()
        Get selected nodes before the Create URL action is invoked.
      • isShared

        boolean isShared()
        Returns:
        False if project is not part of shared configuration