com.ibm.rules.studio.projectmap.model

Interface IProjectMapActivityInfoProvider



  • public interface IProjectMapActivityInfoProvider
    Provide feedback to the model in order to establish the status of an activity
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean canExecute()
      Are all prerequisites verified in order to start this activity ?
      void displayDocumentation()
      When called should display some information in order to help the user to complete his task
      void execute()
      Launch the wizard of make the focus on the element making sense to start this activity
      int getCount()
      Return a count of the number of elements corresponding to this activity in the current project
      org.eclipse.swt.graphics.Image getIcon()
      Returns the icon of the activity
      java.lang.String getLabel()
      Returns the label of the activity
      int getRank()
      Returns a position where to place the activity in the box
      java.lang.String getTooltip()
      Returns the tooltip of the activity
      boolean hasCount()
      Does it make sense to count the number of elements corresponding to this activity in the current project
      boolean hasDocumentation()
      Is there any help available for the user ?
      boolean isComplete()
      Is this activity complete ?
      boolean isOptional()
      Is this activity optional
    • Method Detail

      • canExecute

        boolean canExecute()
        Are all prerequisites verified in order to start this activity ?
        Returns:
        a boolean value
      • execute

        void execute()
        Launch the wizard of make the focus on the element making sense to start this activity
      • isComplete

        boolean isComplete()
        Is this activity complete ?
        Returns:
        a boolean value
      • isOptional

        boolean isOptional()
        Is this activity optional
        Returns:
        a boolean value
      • hasCount

        boolean hasCount()
        Does it make sense to count the number of elements corresponding to this activity in the current project
        Returns:
        a boolean value
      • getCount

        int getCount()
        Return a count of the number of elements corresponding to this activity in the current project
        Returns:
        a boolean value
      • hasDocumentation

        boolean hasDocumentation()
        Is there any help available for the user ?
        Returns:
        an int value
      • displayDocumentation

        void displayDocumentation()
        When called should display some information in order to help the user to complete his task
      • getLabel

        java.lang.String getLabel()
        Returns the label of the activity
        Returns:
        a String object
      • getTooltip

        java.lang.String getTooltip()
        Returns the tooltip of the activity
        Returns:
        a String object
      • getIcon

        org.eclipse.swt.graphics.Image getIcon()
        Returns the icon of the activity
        Returns:
        an Image object
      • getRank

        int getRank()
        Returns a position where to place the activity in the box
        Returns:
        an int value

© Copyright IBM Corp. 1987, 2017