use of org.eclipse.ui.views.properties.PropertySheetPage in project gemoc-studio by eclipse.
the class GexpressionsEditor method dispose.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void dispose() {
updateProblemIndication = false;
ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);
getSite().getPage().removePartListener(partListener);
adapterFactory.dispose();
if (getActionBarContributor().getActiveEditor() == this) {
getActionBarContributor().setActiveEditor(null);
}
for (PropertySheetPage propertySheetPage : propertySheetPages) {
propertySheetPage.dispose();
}
if (contentOutlinePage != null) {
contentOutlinePage.dispose();
}
super.dispose();
}
use of org.eclipse.ui.views.properties.PropertySheetPage in project gemoc-studio by eclipse.
the class GexpressionsEditor method getPropertySheetPage.
/**
* This accesses a cached version of the property sheet.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public IPropertySheetPage getPropertySheetPage() {
PropertySheetPage propertySheetPage = new ExtendedPropertySheetPage(editingDomain) {
@Override
public void setSelectionToViewer(List<?> selection) {
GexpressionsEditor.this.setSelectionToViewer(selection);
GexpressionsEditor.this.setFocus();
}
@Override
public void setActionBars(IActionBars actionBars) {
super.setActionBars(actionBars);
getActionBarContributor().shareGlobalActions(this, actionBars);
}
};
propertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory));
propertySheetPages.add(propertySheetPage);
return propertySheetPage;
}
use of org.eclipse.ui.views.properties.PropertySheetPage in project dbeaver by serge-rider.
the class ERDEditorPart method getPropertySheetPage.
/**
* Returns the undoable <code>PropertySheetPage</code> for this editor.
*
* @return the undoable <code>PropertySheetPage</code>
*/
protected PropertySheetPage getPropertySheetPage() {
if (null == undoablePropertySheetPage) {
undoablePropertySheetPage = new PropertySheetPage();
undoablePropertySheetPage.setRootEntry(new UndoablePropertySheetEntry(getCommandStack()));
}
return undoablePropertySheetPage;
}
use of org.eclipse.ui.views.properties.PropertySheetPage in project dbeaver by dbeaver.
the class ERDEditorPart method getPropertySheetPage.
/**
* Returns the undoable <code>PropertySheetPage</code> for this editor.
*
* @return the undoable <code>PropertySheetPage</code>
*/
protected PropertySheetPage getPropertySheetPage() {
if (null == undoablePropertySheetPage) {
undoablePropertySheetPage = new PropertySheetPage();
undoablePropertySheetPage.setRootEntry(new UndoablePropertySheetEntry(getCommandStack()));
}
return undoablePropertySheetPage;
}
use of org.eclipse.ui.views.properties.PropertySheetPage in project yamcs-studio by yamcs.
the class OPIEditor method getPropertySheetPage.
/**
* Returns the undoable <code>PropertySheetPage</code> for this editor.
*
* @return the undoable <code>PropertySheetPage</code>
*/
protected PropertySheetPage getPropertySheetPage() {
if (undoablePropertySheetPage == null) {
undoablePropertySheetPage = new PropertySheetPage() {
@Override
protected ISaveablePart getSaveablePart() {
return null;
}
};
undoablePropertySheetPage.setRootEntry(new UndoablePropertySheetEntry(getCommandStack()));
}
return undoablePropertySheetPage;
}
Aggregations