@Override public void open() { // Search the key KeyReference[] references= search(fPropertiesKey); if (references == null) return; // canceled by the user if (references.length == 0) { String message= PropertiesFileEditorMessages.OpenAction_error_messageNoResult; showErrorInStatusLine(message); return; } open(references); }
@Override public void open() { // Search the key KeyReference[] references= search(fPropertiesKey); if (references == null) return; // canceled by the user if (references.length == 0) { String message= PropertiesFileEditorMessages.OpenAction_error_messageNoResult; showErrorInStatusLine(message); return; } open(references); }
public void open() { if (!checkEnabled()) return; // Search the key IResource resource= (IResource)fStorage; KeyReference[] references= null; if (resource != null) references= search(resource.getProject(), fPropertiesKey); if (references == null) return; // canceled by the user if (references.length == 0) { String message= PropertiesFileEditorMessages.OpenAction_error_messageNoResult; showErrorInStatusLine(message); return; } open(references); }