|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gmf.runtime.common.ui.dialogs.ShowRelatedElementsPreset
Show Related Elements Preset
| Field Summary | |
protected java.lang.Object |
custom
Optional custom data |
protected int |
expansionType
See ExpansionType enumeration for values |
protected java.lang.String |
id
Identifier |
protected java.util.List |
ids
List of IDs |
protected boolean |
isDefault
True if it's a default query, false if it's user defined |
protected java.lang.Object |
layoutType
Optional layout type to use for this preset if functionality is available. |
protected int |
levels
Levels of expansion, -1 means expand indefinitely |
protected java.lang.String |
name
Name |
| Constructor Summary | |
ShowRelatedElementsPreset(java.lang.String newName,
boolean newDefault,
int newType,
int newLevels)
Constructor. |
|
ShowRelatedElementsPreset(java.lang.String newName,
boolean newDefault,
int newType,
int newLevels,
java.util.List idList,
java.lang.Object newCustom)
Constructor. |
|
ShowRelatedElementsPreset(java.lang.String newName,
java.lang.String newID,
boolean newDefault,
int newType,
int newLevels)
Constructor that allows for serialization of the preset. |
|
ShowRelatedElementsPreset(java.lang.String newName,
java.lang.String newID,
boolean newDefault,
int newType,
int newLevels,
java.util.List idList,
java.lang.Object newCustom)
Constructor that allows for serialization of the preset. |
|
| Method Summary | |
void |
addId(java.lang.String aID)
Add an id to the ID List |
void |
addIds(java.util.List idList)
Add a List of String ids to the ID List |
java.lang.Object |
getCustom()
Return custom data for this preset, which may be null |
int |
getExpansionType()
Return the expansion type ordinal. |
java.lang.String |
getId()
Retrieves the serializable non-language specific id of the preset. |
java.util.List |
getIds()
Return List of serializable String ids |
java.lang.Object |
getLayoutType()
Return the optional layout type. |
int |
getLevels()
Return the int number of levels to expand, -1 means to expand indefinitely. |
java.lang.String |
getName()
Return this preset's name |
boolean |
isDefault()
Return true if it's the default query, false otherwise. |
void |
setCustom(java.lang.Object newCustom)
Set custom data |
void |
setLayoutType(java.lang.Object type)
Set the optional layout type. |
void |
setName(java.lang.String newName)
Set this preset's name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean isDefault
protected java.lang.String name
protected java.lang.String id
protected java.util.List ids
protected java.lang.Object custom
protected int expansionType
protected int levels
protected java.lang.Object layoutType
| Constructor Detail |
public ShowRelatedElementsPreset(java.lang.String newName,
boolean newDefault,
int newType,
int newLevels)
newName - name of presetnewDefault - true it's a hardcoded query, false if it's a user defined
querynewType - expansion type. See ExpansionType.newLevels - number of levels to expand, -1 for indefinite.
public ShowRelatedElementsPreset(java.lang.String newName,
java.lang.String newID,
boolean newDefault,
int newType,
int newLevels)
newName - name of presetnewID - serializable and non-language specific identifier for the
presetnewDefault - true it's a hardcoded query, false if it's a user defined
querynewType - expansion type. See ExpansionType.newLevels - number of levels to expand, -1 for indefinite.
public ShowRelatedElementsPreset(java.lang.String newName,
boolean newDefault,
int newType,
int newLevels,
java.util.List idList,
java.lang.Object newCustom)
newName - name of presetnewDefault - true it's a hardcoded query, false if it's a user defined
querynewType - expansion type. See ExpansionType.newLevels - number of levels to expand, -1 for indefinite.idList - list of IDsnewCustom - custom String data.
public ShowRelatedElementsPreset(java.lang.String newName,
java.lang.String newID,
boolean newDefault,
int newType,
int newLevels,
java.util.List idList,
java.lang.Object newCustom)
newName - name of presetnewID - serializable and non-language specific identifier for the
presetnewDefault - true it's a hardcoded query, false if it's a user defined
querynewType - expansion type. See ExpansionType.newLevels - number of levels to expand, -1 for indefinite.idList - list of IDsnewCustom - custom String data.| Method Detail |
public boolean isDefault()
public java.lang.String getName()
public void setName(java.lang.String newName)
newName - String namepublic java.lang.String getId()
public java.lang.Object getCustom()
public void setCustom(java.lang.Object newCustom)
newCustom - String with custom datapublic java.util.List getIds()
public void addId(java.lang.String aID)
aID - String id to add to the ID Listpublic void addIds(java.util.List idList)
idList - List of String ids to add to the ID Listpublic int getLevels()
public int getExpansionType()
public java.lang.Object getLayoutType()
public void setLayoutType(java.lang.Object type)
type - A layout type or (null) for unset.
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.