public abstract class IlvAbstractGroupTreeViewActions extends Object implements IlvSymbologyTreeViewActions
ilog.views.maps.defense.symbology.swing package in previous versions of JViews Maps for Defense.| Constructor and Description |
|---|
IlvAbstractGroupTreeViewActions()
Creates actions to manage the App6a symbol tree.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
askGroupName(String initialName)
Method used to set a group name.
|
void |
createGroup(IlvSDMModel model,
Object parentgroup,
IlvApplyObject applier)
Creates a group.
|
void |
editGroup(IlvSDMModel model,
Object group,
IlvApplyObject applier)
Renames a group.
|
IlvSymbologyTreeView |
getView()
Returns the tree view attached to the actions.
|
boolean |
isCreateGroupEnabled(IlvSDMModel model)
Returns
true. |
boolean |
isEditGroupEnabled(IlvSDMModel model)
Returns
true |
void |
setView(IlvSymbologyTreeView treeView)
Sets the symbology tree view that uses these actions.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactOnSymbologyChanged, createSymbol, dropSymbolAt, duplicateSymbol, editSymbol, editSymbology, isCreateSymbolEnabled, isDuplicateSymbolEnabled, isEditSymbolEnabled, isEditSymbologyEnabledgetPersistentContext, isPropertyIgnored, newSymbol, setPersistentContextpublic IlvAbstractGroupTreeViewActions()
public void setView(IlvSymbologyTreeView treeView)
setView in interface IlvSymbologyTreeViewActionstreeView - symbology tree viewIlvSymbologyTreeViewActions.setView(ilog.views.maps.symbology.swing.IlvSymbologyTreeView)public IlvSymbologyTreeView getView()
public void createGroup(IlvSDMModel model, Object parentgroup, IlvApplyObject applier)
createGroup in interface IlvSymbologyTreeViewActionsmodel - The symbol model to which the new group will belongparentgroup - The parent group of the new group, or nullapplier - The apply object to be called when the group is createdIlvSymbologyTreeViewActions.createGroup(ilog.views.sdm.IlvSDMModel, java.lang.Object, ilog.views.IlvApplyObject)protected String askGroupName(String initialName)
initialName - The default group name.createGroup(IlvSDMModel, Object, IlvApplyObject),
The default implementation displays a dialog that requires the user to enter a name for the group being edited or created.public boolean isCreateGroupEnabled(IlvSDMModel model)
true.isCreateGroupEnabled in interface IlvSymbologyTreeViewActionsmodel - The symbol modeltrue if the operation is allowedIlvSymbologyTreeViewActions.isCreateGroupEnabled(IlvSDMModel)public void editGroup(IlvSDMModel model, Object group, IlvApplyObject applier)
editGroup in interface IlvSymbologyTreeViewActionsmodel - The symbol model to which the symbol will belonggroup - The symbol model group to be editedapplier - The apply object to be called when the group is changedIlvSymbologyTreeViewActions.editGroup(IlvSDMModel,
java.lang.Object, ilog.views.IlvApplyObject)public boolean isEditGroupEnabled(IlvSDMModel model)
trueisEditGroupEnabled in interface IlvSymbologyTreeViewActionsmodel - The symbol modeltrue if the operation is allowedIlvSymbologyTreeViewActions.isEditGroupEnabled(IlvSDMModel)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.