| java.lang.Object org.eclipse.ui.internal.PlaceholderContributionItem
PlaceholderContributionItem | final class PlaceholderContributionItem implements IContributionItem(Code) | | A contribution item that is intended to hold the place of a tool bar
contribution item that has been disposed. This is to ensure that tool bar
contribution items are disposed (freeing their resources), but that layout
information about the item is not lost.
since: 3.0 |
Constructor Summary | |
| PlaceholderContributionItem(IToolBarContributionItem item) Constructs a new instance of PlaceholderContributionItem
from the item it is intended to replace. |
PlaceholderContributionItem | PlaceholderContributionItem(IToolBarContributionItem item)(Code) | | Constructs a new instance of PlaceholderContributionItem
from the item it is intended to replace.
Parameters: item - The item to be replaced; must not be null . |
dispose | public void dispose()(Code) | | |
fill | public void fill(Composite parent)(Code) | | |
fill | public void fill(CoolBar parent, int index)(Code) | | |
fill | public void fill(Menu parent, int index)(Code) | | |
fill | public void fill(ToolBar parent, int index)(Code) | | |
getHeight | int getHeight()(Code) | | The height of the replaced contribution item.
The height. |
getUseChevron | boolean getUseChevron()(Code) | | Returns whether chevron support is enabled.
true if chevron support is enabled, false otherwise since: 3.2 |
getWidth | int getWidth()(Code) | | The width of the replaced contribution item.
The width. |
isDirty | public boolean isDirty()(Code) | | |
isDynamic | public boolean isDynamic()(Code) | | |
isEnabled | public boolean isEnabled()(Code) | | |
isGroupMarker | public boolean isGroupMarker()(Code) | | |
isSeparator | public boolean isSeparator()(Code) | | |
isVisible | public boolean isVisible()(Code) | | |
saveWidgetState | public void saveWidgetState()(Code) | | |
setParent | public void setParent(IContributionManager parent)(Code) | | |
setVisible | public void setVisible(boolean visible)(Code) | | |
toString | public String toString()(Code) | | Displays a string representation of this contribution item, which is
really just a function of its identifier.
|
update | public void update()(Code) | | |
|
|