| |
|
| java.lang.Object org.eclipse.jface.action.ContributionManager org.eclipse.jface.action.StatusLineManager
StatusLineManager | public class StatusLineManager extends ContributionManager implements IStatusLineManager(Code) | | A status line manager is a contribution manager which realizes itself and its items
in a status line control.
This class may be instantiated; it may also be subclassed if a more
sophisticated layout is required.
|
Field Summary | |
final public static String | BEGIN_GROUP Identifier of group marker used to position contributions at the beginning
of the status line. | final public static String | END_GROUP Identifier of group marker used to position contributions at the end
of the status line. | final public static String | MIDDLE_GROUP Identifier of group marker used to position contributions in the middle
of the status line. |
BEGIN_GROUP | final public static String BEGIN_GROUP(Code) | | Identifier of group marker used to position contributions at the beginning
of the status line.
since: 3.0 |
END_GROUP | final public static String END_GROUP(Code) | | Identifier of group marker used to position contributions at the end
of the status line.
since: 3.0 |
MIDDLE_GROUP | final public static String MIDDLE_GROUP(Code) | | Identifier of group marker used to position contributions in the middle
of the status line.
since: 3.0 |
StatusLineManager | public StatusLineManager()(Code) | | Creates a new status line manager.
Use the createControl method to create the
status line control.
|
createControl | public Control createControl(Composite parent)(Code) | | Creates and returns this manager's status line control.
Does not create a new control if one already exists.
Note: Since 3.0 the return type is Control . Before 3.0, the return type was
the package-private class StatusLine .
Parameters: parent - the parent control the status line control |
createControl | public Control createControl(Composite parent, int style)(Code) | | Creates and returns this manager's status line control.
Does not create a new control if one already exists.
Parameters: parent - the parent control Parameters: style - the style for the control the status line control since: 3.0 |
dispose | public void dispose()(Code) | | Disposes of this status line manager and frees all allocated SWT resources.
Notifies all contribution items of the dispose. Note that this method does
not clean up references between this status line manager and its associated
contribution items. Use removeAll for that purpose.
|
getControl | public Control getControl()(Code) | | Returns the control used by this StatusLineManager.
the control used by this manager |
getProgressMonitor | public IProgressMonitor getProgressMonitor()(Code) | | |
getProgressMonitorDelegate | protected IProgressMonitor getProgressMonitorDelegate()(Code) | | Returns the progress monitor delegate. Override this method
to provide your own object used to handle progress.
the IProgressMonitor delegate since: 3.0 |
isCancelEnabled | public boolean isCancelEnabled()(Code) | | |
setCancelEnabled | public void setCancelEnabled(boolean enabled)(Code) | | |
setErrorMessage | public void setErrorMessage(String message)(Code) | | |
setErrorMessage | public void setErrorMessage(Image image, String message)(Code) | | |
setMessage | public void setMessage(Image image, String message)(Code) | | |
update | public void update(boolean force)(Code) | | |
Methods inherited from org.eclipse.jface.action.ContributionManager | public void add(IAction action)(Code)(Java Doc) public void add(IContributionItem item)(Code)(Java Doc) protected boolean allowItem(IContributionItem itemToAdd)(Code)(Java Doc) public void appendToGroup(String groupName, IAction action)(Code)(Java Doc) public void appendToGroup(String groupName, IContributionItem item)(Code)(Java Doc) protected void dumpStatistics()(Code)(Java Doc) public IContributionItem find(String id)(Code)(Java Doc) public IContributionItem[] getItems()(Code)(Java Doc) public IContributionManagerOverrides getOverrides()(Code)(Java Doc) public int getSize()(Code)(Java Doc) protected boolean hasDynamicItems()(Code)(Java Doc) public int indexOf(String id)(Code)(Java Doc) protected int indexOf(IContributionItem item)(Code)(Java Doc) public void insert(int index, IContributionItem item)(Code)(Java Doc) public void insertAfter(String ID, IAction action)(Code)(Java Doc) public void insertAfter(String ID, IContributionItem item)(Code)(Java Doc) public void insertBefore(String ID, IAction action)(Code)(Java Doc) public void insertBefore(String ID, IContributionItem item)(Code)(Java Doc) protected void internalSetItems(IContributionItem[] items)(Code)(Java Doc) public boolean isDirty()(Code)(Java Doc) public boolean isEmpty()(Code)(Java Doc) protected void itemAdded(IContributionItem item)(Code)(Java Doc) protected void itemRemoved(IContributionItem item)(Code)(Java Doc) public void markDirty()(Code)(Java Doc) public void prependToGroup(String groupName, IAction action)(Code)(Java Doc) public void prependToGroup(String groupName, IContributionItem item)(Code)(Java Doc) public IContributionItem remove(String ID)(Code)(Java Doc) public IContributionItem remove(IContributionItem item)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public boolean replaceItem(String identifier, IContributionItem replacementItem)(Code)(Java Doc) protected void setDirty(boolean dirty)(Code)(Java Doc) public void setOverrides(IContributionManagerOverrides newOverrides)(Code)(Java Doc)
|
|
|
|