"invoked in the DISCARDED, SAVE or LOADING_THUMBNAIL " + "state");
"invoked in the DISCARDED, SAVE state.");
    public void onSelectedDisplay()    {        switch (model.getState()) {            case DISCARDED:            case SAVE:                  throw new IllegalStateException("This method cannot be " +                        "invoked in the DISCARDED, SAVE or LOADING_THUMBNAIL " +                        "state");        }        int editor = model.getEditorType();        if (editor != TreeViewer.CREATE_EDITOR) {            removeEditor();            PropertiesCmd cmd = new PropertiesCmd(this);            cmd.execute();        } else removeEditor();    }