Class DefaultDirectEditingInfo
java.lang.Object
org.eclipse.graphiti.features.impl.DefaultDirectEditingInfo
- All Implemented Interfaces:
IDirectEditingInfo
The Class DefaultDirectEditingInfo.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the graphics algorithm.Gets the main pictogram element.Gets the pictogram element.boolean
isActive()
Checks if is active.void
reset()
sets all the infos to null.void
setActive
(boolean isActive) Sets the active state.void
setGraphicsAlgorithm
(GraphicsAlgorithm graphicsAlgorithm) Sets the graphics algorithm.void
setMainPictogramElement
(PictogramElement pictogramElement) Sets the main pictogram element.void
setPictogramElement
(PictogramElement pictogramElement) Sets the pictogram element.
-
Constructor Details
-
DefaultDirectEditingInfo
public DefaultDirectEditingInfo()
-
-
Method Details
-
getGraphicsAlgorithm
Description copied from interface:IDirectEditingInfo
Gets the graphics algorithm.- Specified by:
getGraphicsAlgorithm
in interfaceIDirectEditingInfo
- Returns:
- the graphics algorithm
-
getMainPictogramElement
Description copied from interface:IDirectEditingInfo
Gets the main pictogram element.- Specified by:
getMainPictogramElement
in interfaceIDirectEditingInfo
- Returns:
- the main pictgram element
-
getPictogramElement
Description copied from interface:IDirectEditingInfo
Gets the pictogram element.- Specified by:
getPictogramElement
in interfaceIDirectEditingInfo
- Returns:
- the pictogram element
-
isActive
public boolean isActive()Description copied from interface:IDirectEditingInfo
Checks if is active.- Specified by:
isActive
in interfaceIDirectEditingInfo
- Returns:
- TRUE, if this info should be used; FALSE otherwise
-
reset
public void reset()Description copied from interface:IDirectEditingInfo
sets all the infos to null.- Specified by:
reset
in interfaceIDirectEditingInfo
-
setActive
public void setActive(boolean isActive) Description copied from interface:IDirectEditingInfo
Sets the active state.- Specified by:
setActive
in interfaceIDirectEditingInfo
- Parameters:
isActive
- the is active
-
setGraphicsAlgorithm
Description copied from interface:IDirectEditingInfo
Sets the graphics algorithm.- Specified by:
setGraphicsAlgorithm
in interfaceIDirectEditingInfo
- Parameters:
graphicsAlgorithm
- the graphics algorithm
-
setMainPictogramElement
Description copied from interface:IDirectEditingInfo
Sets the main pictogram element.- Specified by:
setMainPictogramElement
in interfaceIDirectEditingInfo
- Parameters:
pictogramElement
- the pictogram element
-
setPictogramElement
Description copied from interface:IDirectEditingInfo
Sets the pictogram element.- Specified by:
setPictogramElement
in interfaceIDirectEditingInfo
- Parameters:
pictogramElement
- the pictogram element
-