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, wait
actOnSymbologyChanged, createSymbol, dropSymbolAt, duplicateSymbol, editSymbol, editSymbology, isCreateSymbolEnabled, isDuplicateSymbolEnabled, isEditSymbolEnabled, isEditSymbologyEnabled
getPersistentContext, isPropertyIgnored, newSymbol, setPersistentContext
public IlvAbstractGroupTreeViewActions()
public void setView(IlvSymbologyTreeView treeView)
setView
in interface IlvSymbologyTreeViewActions
treeView
- 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 IlvSymbologyTreeViewActions
model
- The symbol model to which the new group will belongparentgroup
- The parent group of the new group, or null
applier
- 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 IlvSymbologyTreeViewActions
model
- The symbol modeltrue
if the operation is allowedIlvSymbologyTreeViewActions.isCreateGroupEnabled(IlvSDMModel)
public void editGroup(IlvSDMModel model, Object group, IlvApplyObject applier)
editGroup
in interface IlvSymbologyTreeViewActions
model
- 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)
true
isEditGroupEnabled
in interface IlvSymbologyTreeViewActions
model
- The symbol modeltrue
if the operation is allowedIlvSymbologyTreeViewActions.isEditGroupEnabled(IlvSDMModel)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.