Search in sources :

Example 6 with StatusLineContributionItem

use of org.eclipse.jface.action.StatusLineContributionItem in project tdi-studio-se by Talend.

the class AbstractJvmPropertySection method clearStatusLine.

/**
     * Clears the status line.
     */
public void clearStatusLine() {
    IStatusLineManager manager = propertySheet.getViewSite().getActionBars().getStatusLineManager();
    IContributionItem[] items = manager.getItems();
    for (IContributionItem item : items) {
        if (item instanceof StatusLineContributionItem) {
            ((StatusLineContributionItem) item).setText(Util.ZERO_LENGTH_STRING);
        }
    }
}
Also used : StatusLineContributionItem(org.eclipse.jface.action.StatusLineContributionItem) IStatusLineManager(org.eclipse.jface.action.IStatusLineManager) IContributionItem(org.eclipse.jface.action.IContributionItem)

Aggregations

StatusLineContributionItem (org.eclipse.jface.action.StatusLineContributionItem)6 IContributionItem (org.eclipse.jface.action.IContributionItem)3 IStatusLineManager (org.eclipse.jface.action.IStatusLineManager)3 CubridDatabase (com.cubrid.common.ui.spi.model.CubridDatabase)2 ISchemaNode (com.cubrid.common.ui.spi.model.ISchemaNode)2 DbUserInfo (com.cubrid.cubridmanager.core.cubrid.user.model.DbUserInfo)2 BrokerInfo (com.cubrid.cubridmanager.core.broker.model.BrokerInfo)1 BrokerInfos (com.cubrid.cubridmanager.core.broker.model.BrokerInfos)1 ServerUserInfo (com.cubrid.cubridmanager.core.common.model.ServerUserInfo)1 DatabaseInfo (com.cubrid.cubridmanager.core.cubrid.database.model.DatabaseInfo)1 ArrayList (java.util.ArrayList)1 HashMap (java.util.HashMap)1 WorkbenchWindow (org.eclipse.ui.internal.WorkbenchWindow)1 ISWTResourceElement (org.talend.designer.runtime.visualization.ISWTResourceElement)1 IMethodNode (org.talend.designer.runtime.visualization.internal.core.cpu.IMethodNode)1