IDesignView Interface
- public interface IDesignView
extends IDocumentView
-
All Superinterfaces
-
ICookieSupport
, IDocumentView
, IDriverSupport
, IPropertySupport
public boolean |
-
isCollapsed (IElement element)
- Determine if the given element is currently collapsed.
|
public boolean |
-
needsRename (IElement element)
- Determine if the element is going to be renamed.
|
public void |
-
setAllCollapsed (boolean collapse)
- Set the collapsed state of all collapsible items.
|
public void |
-
setCollapsed (IElement element, boolean collapse)
- Specify that the given element should be collapsed in the designview.
|
public void |
-
setNeedsRename (IElement element, boolean rename)
- Specify that the element is new and the designview should ask the user to rename it.
|
VIEW_NAME
public static final String
VIEW_NAME
- Name for this view.
isCollapsed(IElement) Method
public boolean isCollapsed(IElement
element)
Determine if the given element is currently collapsed.
Parameters
-
element
- The element to query.
Returns
- true if the drawing for this element is collapsed.
needsRename(IElement) Method
public boolean needsRename(IElement
element)
Determine if the element is going to be renamed.
Parameters
-
element
- The element whose status is being queried.
Returns
- true if this method is flagged as needing a rename.
setAllCollapsed(boolean) Method
public void setAllCollapsed(boolean collapse)
Set the collapsed state of all collapsible items.
Parameters
-
collapse
- True to collapse all, false to expand all.
setCollapsed(IElement, boolean) Method
public void setCollapsed(IElement
element,
boolean collapse)
Specify that the given element should be collapsed in the designview.
Parameters
-
element
- The element whose representation should be collapsed.
-
collapse
- True to collapse, false to expand.
setNeedsRename(IElement, boolean) Method
public void setNeedsRename(IElement
element,
boolean rename)
Specify that the element is new and the designview should ask the user to rename it.
Parameters
-
element
- The element which should be renamed.
-
rename
- Whether or not to rename the method at first chance.