02-26-2014 06:51 AM
private void setConfigurationProvider(IConfigurationProviderInternal configurationProvider) {
this.configurationProvider = configurationProvider;
// initialize configuration-provider depending on this editor
configurationProvider.setWorkbenchPart(parentPart);
if (diagramContainer.getGraphicalViewer() != null) {
initializeGraphicalViewer();
}
if (diagramContainer instanceof IEditorPart) {
DefaultEditDomain editDomain = new DefaultEditDomain((IEditorPart) diagramContainer);
diagramContainer.setEditDomain(editDomain);
}
CommandStack commandStack = new GFCommandStack(configurationProvider, getEditingDomain());
getEditDomain().setCommandStack(commandStack);
}
03-01-2014 02:53 AM
03-04-2014 06:08 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.