/** * @param source * @param editorType * @param locator */ @SuppressWarnings("unchecked") public DirectEditorManager(GraphicalEditPart source, java.lang.Class editorType, CellEditorLocator locator, String stringValue) { super(source, editorType, locator); if (source.getModel() instanceof NotationNode) { model = (NotationNode) source.getModel(); } else if (source.getModel() instanceof LabelNode) { model = (LabelNode) source.getModel(); } this.stringValue = stringValue; this.editPart = source; }
/** * @param source * @param editorType * @param locator */ @SuppressWarnings("unchecked") public LifeLineDirectEditorManager(GraphicalEditPart source, Class editorType, CellEditorLocator locator) { super(source, editorType, locator); model = (NotationNode) source.getModel(); }
/** * @param source * @param editorType * @param locator */ public XtextDirectEditManager(GraphicalEditPart source, Class<?> editorType, CellEditorLocator locator, Injector injector, int style) { super(source, editorType, locator); this.editorType = editorType; this.injector = injector; this.style = style; }
/** * @generated */ public static CellEditorLocator getTextCellEditorLocator( ITextAwareEditPart source) { if (source.getFigure() instanceof WrappingLabel) return new TextCellEditorLocator((WrappingLabel) source.getFigure()); else { return new LabelCellEditorLocator((Label) source.getFigure()); } }
/** * The constructor of this class, where the * {@link DirectEditManager#DirectEditManager(GraphicalEditPart, Class, CellEditorLocator, Object)} * is called and the {@link Label}, whose text the user wants edit is set. * */ public ORMDirectEditManager(final GraphicalEditPart source, final Class editorType, final CellEditorLocator locator, final Label label) { super(source, editorType, locator); this.label = label; this.isValidInput = true; }
public ElementDirectEditManager(GraphicalEditPart source, CellEditorLocator locator) { super(source, TextCellEditor.class, locator); Object object = source.getModel(); if (object instanceof BaseElement) { displayName = ((BaseElement) object).getDisplayName(); } }
public EdgeDirectEditManager(GraphicalEditPart source, Class editorType, CellEditorLocator locator, Label label) { super(source, editorType, locator); this.label = label; }
public VertexDirectEditManager(GraphicalEditPart source, Class editorType, CellEditorLocator locator, Label label) { super(source, editorType, locator); this.label = label; }
public TransitionLabelDirectEditManager(GraphicalEditPart source, Class<?> editorType, CellEditorLocator locator) { super(source, editorType, locator); }
public NodeDirectEditManager(GraphicalEditPart source, Class<?> editorType, CellEditorLocator locator) { super(source, editorType, locator); }
@SuppressWarnings("rawtypes") public DwFeatureDirectEditManager(GraphicalEditPart source, Class editorType, CellEditorLocator locator, Label label) { super(source, editorType, locator); this.label = label; }
@SuppressWarnings("rawtypes") public DwAttributeDirectEditManager(GraphicalEditPart source, Class editorType, CellEditorLocator locator, Label label) { super(source, editorType, locator); this.label = label; }
public NoteEditManager(final GraphicalEditPart source, final Class editorType, final CellEditorLocator locator) { super(source, editorType, locator); note = (Note) source.getModel(); }
public NoteEditManager(GraphicalEditPart source, Class editorType, CellEditorLocator locator) { super(source, editorType, locator); this.note = (Note) source.getModel(); }
public ElementEditManager(GraphicalEditPart source, CellEditorLocator locator) { super(source, null, locator); }
/** * @param source * @param editorType * @param locator */ @SuppressWarnings("unchecked") public NodeLabelDirectEditorManager(GraphicalEditPart source, Class editorType, CellEditorLocator locator) { super(source, editorType, locator); model = (AbstractNode) source.getModel(); }
/** * @param source * @param editorType * @param locator */ @SuppressWarnings("unchecked") public ActivityPartitionDirectEditorManager(GraphicalEditPart source, java.lang.Class editorType, CellEditorLocator locator, String stringValue) { super(source, editorType, locator); }
/** * @generated */ public static CellEditorLocator getTextCellEditorLocator( ITextAwareEditPart source) { return CellEditorLocatorAccess.INSTANCE .getTextCellEditorLocator(source); }
protected CellEditorLocator getLocator() { return locator; }
public CalloutEditManager(GraphicalEditPart source, CellEditorLocator locator) { super(source, null, locator); }
public TextEditManager(GraphicalEditPart source, CellEditorLocator locator) { super(source, null, locator); }
public WalkerNoteEditManager(GraphicalEditPart source, Class<?> editorType, CellEditorLocator locator) { super(source, editorType, locator); this.note = (WalkerNote) source.getModel(); }
public InstallOptionsCheckBoxEditManager(GraphicalEditPart source, CellEditorLocator locator) { super(source, locator); }
public InstallOptionsLinkEditManager(GraphicalEditPart source, CellEditorLocator locator) { super(source, locator); }
public InstallOptionsDropListEditManager(GraphicalEditPart source, Class<EditableComboBoxCellEditor> editorType, CellEditorLocator locator) { super(source, editorType, locator); }
public InstallOptionsGenericTextEditManager(GraphicalEditPart source, Class<TextCellEditor> editorType, CellEditorLocator locator) { super(source, editorType, locator); }
public InstallOptionsTextEditManager(GraphicalEditPart source, Class<TextCellEditor> editorType, CellEditorLocator locator) { super(source, editorType, locator); }
public InstallOptionsButtonEditManager(GraphicalEditPart source, CellEditorLocator locator) { super(source, locator); }
public InstallOptionsLabelEditManager(GraphicalEditPart source, CellEditorLocator locator) { super(source, locator); }
public InstallOptionsPathRequestEditManager(GraphicalEditPart source, Class<TextCellEditor> editorType, CellEditorLocator locator) { super(source, editorType, locator); }
public InstallOptionsUnknownEditManager(GraphicalEditPart source, CellEditorLocator locator) { super(source, locator); }
public InstallOptionsListboxEditManager(GraphicalEditPart source, Class<ListCellEditor> editorType, CellEditorLocator locator) { super(source, editorType, locator); }
public InstallOptionsEditableElementEditManager(GraphicalEditPart source, Class<T> editorType, CellEditorLocator locator) { super(source, editorType, locator); }
public InstallOptionsUneditableElementEditManager(GraphicalEditPart source, CellEditorLocator locator) { super(source, TextCellEditor.class, locator); }
public InstallOptionsGroupBoxEditManager(GraphicalEditPart source, CellEditorLocator locator) { super(source, locator); }
public InstallOptionsComboboxEditManager(GraphicalEditPart source, Class<EditableComboBoxCellEditor> editorType, CellEditorLocator locator) { super(source, editorType, locator); }