public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof UMLAbstractTreeNode && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof org.xtext.example.statemachine.statemachine.diagram.navigator.StatemachineAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof au.edu.swin.ict.road.designer.smc.diagram.navigator.SmcAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.thu.ggxx.hellobrazil.wc2014.diagram.navigator.Wc2014AbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof SimpleBPMN.diagram.navigator.SimpleBPMNAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.diagram.navigator.ICSE15_SequenceDiagram_MAVOAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.necsis14_classdiagram.diagram.navigator.NECSIS14_ClassDiagramAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.necsis14_databaseschema.diagram.navigator.NECSIS14_DatabaseSchemaAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.mmint.mid.diagram.navigator.MIDAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.mmint.mid.relationship.diagram.navigator.MIDAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.relationaldatabase_mavo.diagram.navigator.RelationalDatabase_MAVOAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.relationaldatabase.diagram.navigator.RelationalDatabaseAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.istar_mavo.diagram.navigator.IStar_MAVOAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.istar.diagram.navigator.IStarAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.statemachine.diagram.navigator.StateMachineAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.statemachine_mavo.diagram.navigator.StateMachine_MAVOAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.tutorial.state.diagram.navigator.StateAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.tutorial.army.diagram.navigator.ArmyAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.tutorial.economy.diagram.navigator.EconomyAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.classdiagram.diagram.navigator.ClassDiagramAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.classdiagram_mavo.diagram.navigator.ClassDiagram_MAVOAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof edu.toronto.cs.se.modelepedia.graph_mavo.diagram.navigator.Graph_MAVOAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof net.dependableos.dcase.diagram.navigator.DcaseAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof net.atos.optimus.m2m.engine.sdk.tom.diagram.navigator.TransformationDependencyAbstractNavigatorItem && adapterType == ITabbedPropertySheetPageContributor.class) { return propertySheetPageContributor; } return null; }
public GraphicalPropertySheetPage( ITabbedPropertySheetPageContributor tabbedPropertySheetPageContributor, CommandStack commandStack) { super(tabbedPropertySheetPageContributor); this.commandStack = commandStack; }
@Override public ITabDescriptor[] getTabDescriptors(final IWorkbenchPart part, final ISelection selection) { if (selection != previousSelection || part != previousPart) { previousSelection = selection; previousPart = part; final List<ITabDescriptor> descriptors = new LinkedList<ITabDescriptor>(); final Set<View> views = ConfigurationManager.getInstance().getConstraintEngine().getViews(selection); if (!views.isEmpty()) { descriptors.addAll(getDisplay(part).getTabDescriptors(views)); } final ITabbedPropertySheetPageContributor contributor = part instanceof ITabbedPropertySheetPageContributor ? (ITabbedPropertySheetPageContributor) part : (ITabbedPropertySheetPageContributor) part.getAdapter(ITabbedPropertySheetPageContributor.class); @SuppressWarnings("restriction") final org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistryFactory tabbedPropertyRegistryFactory = org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistryFactory .getInstance(); if (contributor != null) { @SuppressWarnings("restriction") final org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry registry = tabbedPropertyRegistryFactory .createRegistry(contributor); final ITabDescriptor[] registeredTabDesriptors = call("getAllTabDescriptors", registry); if (registeredTabDesriptors != null) { for (final ITabDescriptor descriptor : registeredTabDesriptors) { if (descriptor.getSectionDescriptors().size() > 0) { descriptors.add(descriptor); } } } } orderTabDescriptors(descriptors); cachedResult = descriptors.toArray(new ITabDescriptor[descriptors.size()]); dispose(tabbedPropertyRegistryFactory, contributor); } return cachedResult; }
@SuppressWarnings("restriction") private void dispose( final org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistryFactory tabbedPropertyRegistryFactory, final ITabbedPropertySheetPageContributor part) { tabbedPropertyRegistryFactory.disposeRegistry(part); }