コード例 #1
0
ファイル: PreviewViewPart.java プロジェクト: ralfebert/swtxml
 public void clearSWTXMLConnection() {
   if (swtXmlEditorPart != null) {
     swtXmlEditorPart.removePropertyListener(updatePreviewOnSaveSwtXml);
     setContent(null);
     swtXmlEditorPart = null;
   }
 }
コード例 #2
0
 /* (non-Javadoc)
  * Method declared on ActiveEditorAction.
  */
 @Override
 protected void editorDeactivated(IEditorPart part) {
   if (part != null) {
     part.removePropertyListener(propListener);
     partsWithListeners.remove(part);
   }
 }
コード例 #3
0
ファイル: PreviewViewPart.java プロジェクト: ralfebert/swtxml
 private void clearPropertiesFileConnection() {
   if (propertiesFileEditorPart != null) {
     propertiesFileEditorPart.removePropertyListener(updatePreviewOnSavePropertiesFile);
     propertiesFileEditorPart = null;
   }
 }