Class AbstractAddPictogramElementFeature

    • Method Detail

      • canUpdatePictogramElement

        protected boolean canUpdatePictogramElement​(PictogramElement pe)
        Checks if the pictogram element could be updated. This implementation asks the feature provider for available update features.
        Parameters:
        pe - the pictogram element
        Returns:
        true, if the update could be processed
      • updatePictogramElementNeeded

        protected boolean updatePictogramElementNeeded​(PictogramElement pe)
        Checks if the pictogram element has to be updated. This implementation asks the feature provider for available update features.
        Parameters:
        pe - the pe
        Returns:
        true, if update pictogram element needed
      • setSizeAndLocation

        protected void setSizeAndLocation​(GraphicsAlgorithm ga,
                                          int minWidth,
                                          int minHeight,
                                          IAreaContext context)
        This is a convenience method for layouting a graphics algorithm.
        Parameters:
        ga - the ga
        minWidth - minimum width
        minHeight - minimum height
        context - the layout context