org.eclipse.ui.views.properties.IPropertySourceProvider Java Examples
The following examples show how to use
org.eclipse.ui.views.properties.IPropertySourceProvider.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ContractConstraintExpressionWizardPage.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
public boolean performFinish(final ContractConstraint constraintToUpdate, final IPropertySourceProvider propertySourceProvider) { final IPropertySource constraintPropertySource = propertySourceProvider.getPropertySource(constraintToUpdate); constraintPropertySource.setPropertyValue(ProcessPackage.Literals.CONTRACT_CONSTRAINT__EXPRESSION, constraint.getExpression()); if (inputIndexer != null) { try { inputIndexer.join(); } catch (final InterruptedException e) { BonitaStudioLog.error("Failed to join input indexer job.", e, ContractPlugin.PLUGIN_ID); return false; } } constraintPropertySource.setPropertyValue(ProcessPackage.Literals.CONTRACT_CONSTRAINT__INPUT_NAMES, constraint.getInputNames()); return true; }
Example #2
Source File: CrossflowDomainNavigatorItem.java From scava with Eclipse Public License 2.0 | 5 votes |
/** * @generated */ public CrossflowDomainNavigatorItem(EObject eObject, Object parent, IPropertySourceProvider propertySourceProvider) { myParent = parent; myEObject = eObject; myPropertySourceProvider = propertySourceProvider; }
Example #3
Source File: ConstraintEditorFactory.java From bonita-studio with GNU General Public License v2.0 | 5 votes |
public int openConstraintEditor(final Shell shell, final ContractConstraint constraint, final IPropertySourceProvider propertySourceProvider) { final ContractConstraintExpressionWizard wizard = createWizard(constraint, propertySourceProvider); final WizardDialog wizardDialog = new ConstraintEditorWizardDialog(Display.getDefault().getActiveShell(), wizard); return openDialog(wizardDialog); }
Example #4
Source File: ContractInputTypeEditingSupport.java From bonita-studio with GNU General Public License v2.0 | 5 votes |
public ContractInputTypeEditingSupport(final ColumnViewer viewer, final IPropertySourceProvider propertySourceProvider, final ContractInputController controller, ContractInputRefactorOperationFactory refactorOperationFactory, IProgressService progressService, TransactionalEditingDomain.Factory transactionalEditingDomainFactory) { super(viewer, propertySourceProvider, ProcessPackage.Literals.CONTRACT_INPUT__TYPE.getName()); this.controller = controller; this.contractInputRefactorOperationFactory = refactorOperationFactory; this.progressService = progressService; this.transactionalEditingDomainFactory = transactionalEditingDomainFactory; }
Example #5
Source File: ContractConstraintExpressionDialogCellEditor.java From bonita-studio with GNU General Public License v2.0 | 5 votes |
public ContractConstraintExpressionDialogCellEditor(final Composite parent, final ContractConstraint constraint, final IPropertySourceProvider propertySourceProvider, final ConstraintEditorFactory factory) { super(parent); this.constraint = constraint; this.propertySourceProvider = propertySourceProvider; this.factory = factory; }
Example #6
Source File: ContractConstraintExpressionWizard.java From bonita-studio with GNU General Public License v2.0 | 5 votes |
public ContractConstraintExpressionWizard(final ContractConstraint constraint, final IPropertySourceProvider propertySourceProvider) { this.constraint = constraint; constraintWorkingCopy = EcoreUtil.copy(constraint); inputs = ModelHelper.getFirstContainerOfType(constraint, Contract.class).getInputs(); this.propertySourceProvider = propertySourceProvider; setDefaultPageImageDescriptor(Pics.getWizban()); }
Example #7
Source File: ConstraintEditorFactoryTest.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
@Before public void setUp() throws Exception { composite = realm.createComposite(); doReturn(wizard).when(factory).createWizard(any(ContractConstraint.class), any(IPropertySourceProvider.class)); doReturn(Dialog.OK).when(factory).openDialog(any(WizardDialog.class)); }
Example #8
Source File: DescriptionCellLabelProvider.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
public DescriptionCellLabelProvider(final IPropertySourceProvider propertySourceProvider, final IObservableSet knownElements) { super(propertySourceProvider, ProcessPackage.Literals.CONTRACT_INPUT__DESCRIPTION, knownElements); }
Example #9
Source File: InputNameCellLabelProvider.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
public InputNameCellLabelProvider(final IPropertySourceProvider propertySourceProvider, final IObservableSet knownElements) { super(propertySourceProvider, ProcessPackage.Literals.CONTRACT_INPUT__NAME, knownElements); }
Example #10
Source File: CheckboxPropertyEditingSupport.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
public CheckboxPropertyEditingSupport(final IPropertySourceProvider sourceProvider, final ColumnViewer viewer, final String propertyID) { super(viewer, sourceProvider, propertyID); }
Example #11
Source File: ConstraintNameCellLabelProvider.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
public ConstraintNameCellLabelProvider(final IPropertySourceProvider propertySourceProvider, final IObservableSet knownElements) { super(propertySourceProvider, ProcessPackage.Literals.CONTRACT_CONSTRAINT__NAME, knownElements); }
Example #12
Source File: ConstraintErrorMessageCellLabelProvider.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
public ConstraintErrorMessageCellLabelProvider(final IPropertySourceProvider propertySourceProvider, final IObservableSet knownElements) { super(propertySourceProvider, ProcessPackage.Literals.CONTRACT_CONSTRAINT__ERROR_MESSAGE, knownElements); }
Example #13
Source File: ConstraintExpressionCellLabelProvider.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
public ConstraintExpressionCellLabelProvider(final IPropertySourceProvider propertySourceProvider, final IObservableSet knowElements) { super(propertySourceProvider, ProcessPackage.Literals.CONTRACT_CONSTRAINT__EXPRESSION, knowElements); }
Example #14
Source File: ConstraintDescriptionCellLabelProvider.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
public ConstraintDescriptionCellLabelProvider(final IPropertySourceProvider propertySourceProvider, final IObservableSet knownElements) { super(propertySourceProvider, ProcessPackage.Literals.CONTRACT_CONSTRAINT__DESCRIPTION, knownElements); }
Example #15
Source File: ConstraintEditorFactory.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
protected ContractConstraintExpressionWizard createWizard(final ContractConstraint constraint, final IPropertySourceProvider propertySourceProvider) { return new ContractConstraintExpressionWizard(constraint, propertySourceProvider); }
Example #16
Source File: CustomPropertyColumnLabelProvider.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
public CustomPropertyColumnLabelProvider(final IPropertySourceProvider propertySourceProvider, final EStructuralFeature feature, final IObservableSet knowElements) { super(propertySourceProvider, feature.getName()); this.knowElements = knowElements; this.feature = feature; }
Example #17
Source File: DomainNavigatorItem.java From statecharts with Eclipse Public License 1.0 | 4 votes |
public IPropertySourceProvider getPropertySourceProvider() { return myPropertySourceProvider; }
Example #18
Source File: DomainNavigatorItem.java From statecharts with Eclipse Public License 1.0 | 4 votes |
public DomainNavigatorItem(EObject eObject, Object parent, IPropertySourceProvider propertySourceProvider) { myParent = parent; myEObject = eObject; myPropertySourceProvider = propertySourceProvider; }
Example #19
Source File: CrossflowDomainNavigatorItem.java From scava with Eclipse Public License 2.0 | 4 votes |
/** * @generated */ public IPropertySourceProvider getPropertySourceProvider() { return myPropertySourceProvider; }