private Mode editorMode(Workspace workspace) { Mode ourMode = workspace.findMode(this); if (ourMode == null) { ourMode = workspace.createMode( CloneableEditorSupport.EDITOR_MODE, getName(), CloneableEditorSupport.class.getResource( "/org/openide/resources/editorMode.gif" // NOI18N ) ); } return ourMode; }
private Mode editorMode(Workspace workspace) { Mode ourMode = workspace.findMode(this); if (ourMode == null) { ourMode = workspace.createMode( CloneableEditorSupport.EDITOR_MODE, getName(), CloneableEditorSupport.class.getResource( "/org/openide/resources/editorMode.gif" // NOI18N ) ); } return ourMode; }
if (LOG.isLoggable(Level.FINE)) { LOG.log(Level.FINE,"DoInitialize.initDocument Wait finished" + " Thread:" + Thread.currentThread().getName() + " ce:[" + Integer.toHexString(System.identityHashCode(CloneableEditor.this)) + "]" + " this:[" + Integer.toHexString(System.identityHashCode(this)) + "]" + " support:[" + Integer.toHexString(System.identityHashCode(support)) + "]" + " Name:" + CloneableEditor.this.getName() + " doc:" + d + " kit:" + k);
+ " ce:[" + Integer.toHexString(System.identityHashCode(CloneableEditor.this)) + "]" + " support:[" + Integer.toHexString(System.identityHashCode(support)) + "]" + " Name:" + CloneableEditor.this.getName()); LOG.log(Level.FINE,"DoInitialize.initNonVisual doc and kit are set" + " Time:" + System.currentTimeMillis() + " Thread:" + Thread.currentThread().getName() + " ce:[" + Integer.toHexString(System.identityHashCode(CloneableEditor.this)) + "]" + " this:[" + Integer.toHexString(System.identityHashCode(this)) + "]" LOG.log(Level.FINE,"DoInitialize.initNonVisual Call notifyAll" + " Time:" + System.currentTimeMillis() + " Thread:" + Thread.currentThread().getName() + " [" + Integer.toHexString(System.identityHashCode(CloneableEditor.this)) + "]" + " Name:" + CloneableEditor.this.getName());
/** Performs needed initialization */ private void initialize() { if (initialized || discard()) { return; } final QuietEditorPane tmp = new QuietEditorPane(); tmp.getAccessibleContext().setAccessibleName( NbBundle.getMessage(CloneableEditor.class, "ACS_CloneableEditor_QuietEditorPane", this.getName()) ); tmp.getAccessibleContext().setAccessibleDescription( NbBundle.getMessage( CloneableEditor.class, "ACSD_CloneableEditor_QuietEditorPane", this.getAccessibleContext().getAccessibleDescription() ) ); tmp.putClientProperty("usedByCloneableEditor", true); this.pane = tmp; this.initialized = true; this.isComponentOpened = true; this.doInitialize = new DoInitialize(tmp); }
+ " this:[" + Integer.toHexString(System.identityHashCode(this)) + "]" + " support:[" + Integer.toHexString(System.identityHashCode(support)) + "]" + " Name:" + CloneableEditor.this.getName());
"ACS_CloneableEditor_QuietEditorPane", this.getName())); pane.getAccessibleContext().setAccessibleDescription( NbBundle.getMessage(CloneableEditor.class,
"ACS_CloneableEditor_QuietEditorPane", this.getName())); pane.getAccessibleContext().setAccessibleDescription( NbBundle.getMessage(CloneableEditor.class,