Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352113 - Interactive and Programmatic Features
Summary: Interactive and Programmatic Features
Status: ASSIGNED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 11:17 EDT by Michael Wenz CLA
Modified: 2011-08-30 11:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Wenz CLA 2011-07-14 11:17:26 EDT
Graphiti should allow to distinguish between interactive and programmatic features in the  FeatureProvider. Example: the user should no be able to move/resize/delete Shapes. This happens only programmatically, so the FeatureProvider must not deliver any features. On the other hand it would ease and make development more consistent, if one could always use the FeatureProvider => Features differentiate by method IFeature.isAvailableAsInteraction() oder or different methods in the FeatureProvider.
Comment 1 Michael Wenz CLA 2011-07-14 11:17:47 EDT
Requested by AiE (SH)
Comment 2 Michael Wenz CLA 2011-07-14 11:18:03 EDT
Out-of-scope for Juno unless there are contributions in this area
Comment 3 Hernan Gonzalez CLA 2011-08-30 11:11:38 EDT
I agree that this distinction "between interactive and programmatic
features" merits consideration, even if it's only for clarifyng some concepts.

- Does the FeatureProvider provides features to ... whom? 

- Is a Graphiti application supposed to have (tipically? always?) a single Feature
Provider? 
Perhaps it should be emphasized (it we agree!) that a Graphiti application has typically a single DiagramTypeProvider which in turns reference a single FeatureProvider (the "main" or "front" one), but that some scenarios (some features) can use/instantiate other providers? 

Could be the case that a Feature "has" a FeatureProvider different from the FeatureProvided that created it? 

See here http://www.eclipse.org/forums/index.php/m/720417/#msg_720417