@Override protected void updateStatusField(String category) { super.updateStatusField(category); if (getEditorSite() != null) { getEditorSite().getActionBars().getStatusLineManager().setMessage(null); getEditorSite().getActionBars().getStatusLineManager().setErrorMessage(null); } }
protected void updateStatusField(String category) { super.updateStatusField(category); if (getEditorSite() != null) { getEditorSite().getActionBars().getStatusLineManager().setMessage(null); getEditorSite().getActionBars().getStatusLineManager().setErrorMessage(null); } }
@Override protected void updateStatusField(String category) { super.updateStatusField(category); if (getEditorSite() != null) { getEditorSite().getActionBars().getStatusLineManager().setMessage(null); getEditorSite().getActionBars().getStatusLineManager().setErrorMessage(null); } }
/** * Creates a new <code>OpenAction</code>. * * @param editor the Properties file editor which provides the context information for this action */ public OpenAction(PropertiesFileEditor editor) { super(editor.getEditorSite()); fEditor= editor; setText(PropertiesFileEditorMessages.OpenAction_label); setToolTipText(PropertiesFileEditorMessages.OpenAction_tooltip); setEnabled(PropertyKeyHyperlinkDetector.checkEnabled(fEditor, 0)); }
/** * Creates a new <code>OpenAction</code>. * * @param editor the Properties file editor which provides the context information for this action */ public OpenAction(PropertiesFileEditor editor) { super(editor.getEditorSite()); fEditor= editor; setText(PropertiesFileEditorMessages.OpenAction_label); setToolTipText(PropertiesFileEditorMessages.OpenAction_tooltip); setEnabled(PropertyKeyHyperlinkDetector.checkEnabled(fEditor, 0)); }
/** * Creates a new <code>OpenAction</code>. * * @param editor the Properties file editor which provides the context information for this action */ public OpenAction(PropertiesFileEditor editor) { super(editor.getEditorSite()); fEditor= editor; setText(PropertiesFileEditorMessages.OpenAction_label); setToolTipText(PropertiesFileEditorMessages.OpenAction_tooltip); // XXX: Must be removed once support for JARs is available (see class Javadoc for details). setEnabled(fEditor.getEditorInput() instanceof IFileEditorInput); }