Module platform

Class ProjectDirectory

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, RegistryContext, ProjectDescription, UserFields, XObject, Described, Map, Serializable

public class ProjectDirectory extends Item implements ProjectDescription
See Also:
  • Field Details

  • Constructor Details

    • ProjectDirectory

      public ProjectDirectory(String key, String systemId)
  • Method Details

    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Item
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Item
      Returns:
      new instance of class of this node
    • getBaseName

      public String getBaseName()
    • get

      public static ProjectDirectory get(Item child)
    • getDescriptionImpl

      protected Object getDescriptionImpl(String type)
      Overrides:
      getDescriptionImpl in class Item
    • addRequiredFiles

      public void addRequiredFiles(Collection list)
      Overrides:
      addRequiredFiles in class Item
    • delete

      public void delete()
      Overrides:
      delete in class Item
    • activateImpl

      protected void activateImpl()
      Overrides:
      activateImpl in class Item
    • deactivateImpl

      protected void deactivateImpl()
      Overrides:
      deactivateImpl in class Item
    • treeNodesInserted

      public void treeNodesInserted(TreeModelEvent e)
    • treeNodesRemoved

      public void treeNodesRemoved(TreeModelEvent e)
    • treeNodesChanged

      public void treeNodesChanged(TreeModelEvent e)
    • treeStructureChanged

      public void treeStructureChanged(TreeModelEvent e)
    • getImage

      public Object getImage()
      Returns:
      an ImageAdapter of the image loaded by IMP (should even be a FixedImageAdapter)
    • getAuthors

      public String[] getAuthors()
      Returns:
      An array of authors String[]
    • getTags

      public String[] getTags()
      Returns:
      An array of tags
    • getCategory

      public Object getCategory()
      Returns:
      a category as String
    • getShorDescription

      public Object getShorDescription()
      Returns:
      the short description as String
    • getProjectName

      public Object getProjectName()
      Returns:
      the project name as String
    • getVersions

      public ArrayList<ComparableVersion> getVersions()
      An ArrayList containing the versions
    • getProjectForVersion

      public Item getProjectForVersion(Context ctx, String version)
    • getProjectForVersion

      public Item getProjectForVersion(Context ctx, ComparableVersion version)
    • getLatestVersion

      public ComparableVersion getLatestVersion()