input
stringlengths 10
828
| output
stringlengths 5
107
|
|---|---|
public adapter create process model adapter return null
|
creates a new adapter for an object of class
|
public adapter create public instance adapter return null
|
creates a new adapter for an object of class
|
public adapter create qualification adapter return null
|
creates a new adapter for an object of class
|
public adapter create quantity adapter return null
|
creates a new adapter for an object of class
|
public adapter create random list type adapter return null
|
creates a new adapter for an object of class
|
public void init iworkbench workbench istructured selection selection this workbench workbench this selection selection set window title bpel4 wseditor plugin instance get string ui wizard label set default page image descriptor extended image registry instance get image descriptor bpel4 wseditor plugin instance get image full wizban new process
|
this just records the information
|
protected collection get initial object names if initial object names null initial object names new array list for iterator elements extended meta data instance get all elements extended meta data instance get document root process package iterator elements has next estructural feature e structural feature estructural feature elements next eclassifier e classifier e structural feature get etype if e classifier instanceof eclass eclass e class eclass e classifier if e class is abstract initial object names add e structural feature get name collections sort initial object names java text collator get instance return initial object names
|
returns the names of the features representing global elements
|
protected eobject create initial model eclass e class extended meta data instance get document root process package estructural feature e structural feature e class get estructural feature initial object creation page get initial object name eobject root object process factory create e class root object e set e structural feature ecore util create eclass e structural feature get etype return root object
|
create a new model
|
public adapter create recurring time interval type adapter return null
|
creates a new adapter for an object of class
|
protected boolean validate page if super validate page make sure the file ends in process string required ext bpel4 wseditor plugin instance get string ui process editor filename extension string entered ext new path get file name get file extension if entered ext null entered ext equals required ext set error message bpel4 wseditor plugin instance get string warn filename extension new object required ext return false else return true else return false
|
the framework calls this to see if the file is correct
|
public adapter create related input criteria type adapter return null
|
creates a new adapter for an object of class
|
public void contribute to tool bar itool bar manager tool bar manager tool bar manager add new separator process settings tool bar manager add new separator process additions
|
this adds separators for editor additions to the tool bar
|
public adapter create repositories type adapter return null
|
creates a new adapter for an object of class
|
public adapter create repository adapter return null
|
creates a new adapter for an object of class
|
public void init iworkbench workbench istructured selection selection this workbench workbench this selection selection set window title goal editor plugin instance get string ui wizard label set default page image descriptor extended image registry instance get image descriptor goal editor plugin instance get image full wizban new goalmodel
|
this just records the information
|
protected eobject create initial model eclass e class eclass goalmodel package get eclassifier initial object creation page get initial object name eobject root object goalmodel factory create e class return root object
|
create a new model
|
protected boolean validate page if super validate page make sure the file ends in goalmodel string required ext goal editor plugin instance get string ui goalmodel editor filename extension string entered ext new path get file name get file extension if entered ext null entered ext equals required ext set error message goal editor plugin instance get string warn filename extension new object required ext return false else return true else return false
|
the framework calls this to see if the file is correct
|
public adapter create repository data value adapter return null
|
creates a new adapter for an object of class
|
public adapter create resource model adapter return null
|
creates a new adapter for an object of class
|
protected string get label string type name try return goal edit plugin instance get string ui type name type catch missing resource exception mre goal editor plugin instance log mre return type name
|
returns the label for the specified type name
|
public void contribute to tool bar itool bar manager tool bar manager tool bar manager add new separator goalmodel settings tool bar manager add new separator goalmodel additions
|
this adds separators for editor additions to the tool bar
|
public adapter create resources adapter return null
|
creates a new adapter for an object of class
|
public void menu about to show imenu manager menu manager super menu about to show menu manager menu manager submenu manager null submenu manager new menu manager goal editor plugin instance get string ui create child menu item populate manager submenu manager create child actions null menu manager insert before additions submenu manager submenu manager new menu manager goal editor plugin instance get string ui create sibling menu item populate manager submenu manager create sibling actions null menu manager insert before additions submenu manager
|
this populates the pop up menu before it appears
|
public adapter create role adapter return null
|
creates a new adapter for an object of class
|
public adapter create role requirement adapter return null
|
creates a new adapter for an object of class
|
public adapter create roles type adapter return null
|
creates a new adapter for an object of class
|
protected void handle activate recompute the read only state if editing domain get resource to read only map null editing domain get resource to read only map clear refresh any actions that may become enabled or disabled set selection get selection if removed resources is empty if handle dirty conflict get site get page close editor goalmodel editor this false goalmodel editor this dispose else removed resources clear changed resources clear saved resources clear else if changed resources is empty changed resources remove all saved resources handle changed resources changed resources clear saved resources clear
|
handles activation of the editor or its associated views
|
protected void handle changed resources if changed resources is empty is dirty handle dirty conflict editing domain get command stack flush for iterator i changed resources iterator i has next resource resource resource i next if resource is loaded resource unload try resource load collections empty map catch ioexception exception goal editor plugin instance log exception
|
handles what to do with changed resources on activation
|
public adapter create scope dimension type adapter return null
|
creates a new adapter for an object of class
|
public adapter create scope dimension value adapter return null
|
creates a new adapter for an object of class
|
public adapter create service adapter return null
|
creates a new adapter for an object of class
|
public adapter create services type adapter return null
|
creates a new adapter for an object of class
|
public adapter create source type adapter return null
|
creates a new adapter for an object of class
|
public adapter create start day of week type adapter return null
|
creates a new adapter for an object of class
|
public adapter create start node type adapter return null
|
creates a new adapter for an object of class
|
public adapter create stop node type adapter return null
|
creates a new adapter for an object of class
|
public adapter create target type adapter return null
|
creates a new adapter for an object of class
|
public adapter create task adapter return null
|
creates a new adapter for an object of class
|
public void set image buffered image image this image image png bytes null
|
set the buffered image to be encoded
|
public adapter create task individual resource requirement adapter return null
|
creates a new adapter for an object of class
|
private float get value return my value
|
access method for the value hides retrieval
|
public void add node node a node nodes add a node
|
adds a goal node to the list
|
public void add relation relation a relation relations add a relation
|
adds a relation to the list
|
public adapter create tasks type adapter return null
|
creates a new adapter for an object of class
|
private int get value return my value
|
access method for the value hides retrieval
|
private void sync sat label set sat label get sat label
|
writes in both the old and the current field the current value
|
private void sync den label set den label get den label
|
writes in both the old and the current field the current value
|
public adapter create time estimation type adapter return null
|
creates a new adapter for an object of class
|
public adapter create timer adapter return null
|
creates a new adapter for an object of class
|
public adapter create timer setting type adapter return null
|
creates a new adapter for an object of class
|
public list get property descriptors object object if item property descriptors null super get property descriptors object add type property descriptor object add target property descriptor object return item property descriptors
|
this returns the property descriptors for the adapted class
|
protected void add type property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui contribution type feature get string ui property descriptor description ui contribution type feature ui contribution type goalmodel package e instance getcontribution type true item property descriptor generic value image null null
|
this adds a property descriptor for the type feature
|
protected void add target property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui contribution target feature get string ui property descriptor description ui contribution target feature ui contribution type goalmodel package e instance getcontribution target true null null null
|
this adds a property descriptor for the target feature
|
public object get image object object return get resource locator get image full obj16 contribution
|
this returns contribution
|
public string get text object object contribution type label value contribution object get type string label label value null null label value to string return label null label length 0 get string ui contribution type get string ui contribution type label
|
this returns the label text for the adapted class
|
public void notify changed notification notification update children notification switch notification get feature id contribution class case goalmodel package contribution type fire notify changed new viewer notification notification notification get notifier false true return super notify changed notification
|
this handles model notifications by calling
|
public resource locator get resource locator return goal edit plugin instance
|
return the resource locator for this item providers resources
|
protected void add name property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui topic name feature get string ui property descriptor description ui topic name feature ui topic type goalmodel package e instance gettopic name true item property descriptor generic value image null null
|
this adds a property descriptor for the name feature
|
protected void add type property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui topic type feature get string ui property descriptor description ui topic type feature ui topic type goalmodel package e instance gettopic type true item property descriptor generic value image null null
|
this adds a property descriptor for the type feature
|
public object get image object object return get resource locator get image full obj16 topic
|
this returns topic
|
public string get text object object string label topic object get name return label null label length 0 get string ui topic type get string ui topic type label
|
this returns the label text for the adapted class
|
public void notify changed notification notification update children notification switch notification get feature id topic class case goalmodel package topic name case goalmodel package topic type fire notify changed new viewer notification notification notification get notifier false true return super notify changed notification
|
this handles model notifications by calling
|
protected void add name property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui actor name feature get string ui property descriptor description ui actor name feature ui actor type goalmodel package e instance getactor name true item property descriptor generic value image null null
|
this adds a property descriptor for the name feature
|
public adapter create timetable adapter return null
|
creates a new adapter for an object of class
|
protected void add type property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui actor type feature get string ui property descriptor description ui actor type feature ui actor type goalmodel package e instance getactor type true item property descriptor generic value image null null
|
this adds a property descriptor for the type feature
|
public collection get children features object object if children features null super get children features object children features add goalmodel package e instance getactor sub children features add goalmodel package e instance getactor goals return children features
|
this specifies how to implement
|
protected void add name property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui property name feature get string ui property descriptor description ui property name feature ui property type goalmodel package e instance getproperty name true item property descriptor generic value image null null
|
this adds a property descriptor for the name feature
|
protected void add value property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui property value feature get string ui property descriptor description ui property value feature ui property type goalmodel package e instance getproperty value true item property descriptor generic value image null null
|
this adds a property descriptor for the value feature
|
public object get image object object return get resource locator get image full obj16 actor
|
this returns actor
|
public object get image object object return get resource locator get image full obj16 property
|
this returns property
|
public string get text object object string label actor object get name return label null label length 0 get string ui actor type get string ui actor type label
|
this returns the label text for the adapted class
|
public string get text object object string label property object get name return label null label length 0 get string ui property type get string ui property type label
|
this returns the label text for the adapted class
|
public void notify changed notification notification update children notification switch notification get feature id actor class case goalmodel package actor name case goalmodel package actor type fire notify changed new viewer notification notification notification get notifier false true return case goalmodel package actor sub case goalmodel package actor goals fire notify changed new viewer notification notification notification get notifier true false return super notify changed notification
|
this handles model notifications by calling
|
public void notify changed notification notification update children notification switch notification get feature id property class case goalmodel package property name case goalmodel package property value fire notify changed new viewer notification notification notification get notifier false true return super notify changed notification
|
this handles model notifications by calling
|
protected void collect new child descriptors collection new child descriptors object object super collect new child descriptors new child descriptors object new child descriptors add create child parameter goalmodel package e instance getactor sub goalmodel factory e instance createactor new child descriptors add create child parameter goalmodel package e instance getactor goals goalmodel factory e instance creategoal
|
this adds to the collection of
|
public list get property descriptors object object if item property descriptors null super get property descriptors object add dependency from property descriptor object add dependency to property descriptor object add trust property descriptor object return item property descriptors
|
this returns the property descriptors for the adapted class
|
protected void add dependency from property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui dependency dependency from feature get string ui property descriptor description ui dependency dependency from feature ui dependency type goalmodel package e instance getdependency dependency from true null null null
|
this adds a property descriptor for the dependency from feature
|
public list get property descriptors object object if item property descriptors null super get property descriptors object add name property descriptor object add type property descriptor object add label property descriptor object add system property descriptor object add boundary property descriptor object add exclusive property descriptor object add sequential property descriptor object add parallel property descriptor object add dependency from property descriptor object add dependency to property descriptor object add mode property descriptor object return item property descriptors
|
this returns the property descriptors for the adapted class
|
protected void add dependency to property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui dependency dependency to feature get string ui property descriptor description ui dependency dependency to feature ui dependency type goalmodel package e instance getdependency dependency to true null null null
|
this adds a property descriptor for the dependency to feature
|
protected void add trust property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui dependency trust feature get string ui property descriptor description ui dependency trust feature ui dependency type goalmodel package e instance getdependency trust true item property descriptor real value image null null
|
this adds a property descriptor for the trust feature
|
protected void add name property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui goal name feature get string ui property descriptor description ui goal name feature ui goal type goalmodel package e instance getgoal name true item property descriptor generic value image null null
|
this adds a property descriptor for the name feature
|
protected void add type property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui goal type feature get string ui property descriptor description ui goal type feature ui goal type goalmodel package e instance getgoal type true item property descriptor generic value image null null
|
this adds a property descriptor for the type feature
|
public string get text object object dependency dependency dependency object return get string ui dependency type dependency get trust
|
this returns the label text for the adapted class
|
public void notify changed notification notification update children notification switch notification get feature id dependency class case goalmodel package dependency trust fire notify changed new viewer notification notification notification get notifier false true return super notify changed notification
|
this handles model notifications by calling
|
protected void add label property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui goal label feature get string ui property descriptor description ui goal label feature ui goal type goalmodel package e instance getgoal label true item property descriptor generic value image null null
|
this adds a property descriptor for the label feature
|
protected void add system property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui goal system feature get string ui property descriptor description ui goal system feature ui goal type goalmodel package e instance getgoal system true item property descriptor generic value image null null
|
this adds a property descriptor for the system feature
|
protected void add boundary property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui goal boundary feature get string ui property descriptor description ui goal boundary feature ui goal type goalmodel package e instance getgoal boundary true item property descriptor generic value image null null
|
this adds a property descriptor for the boundary feature
|
protected void add exclusive property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui goal exclusive feature get string ui property descriptor description ui goal exclusive feature ui goal type goalmodel package e instance getgoal exclusive true item property descriptor generic value image null null
|
this adds a property descriptor for the exclusive feature
|
public adapter create timetables type adapter return null
|
creates a new adapter for an object of class
|
protected void add sequential property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui goal sequential feature get string ui property descriptor description ui goal sequential feature ui goal type goalmodel package e instance getgoal sequential true item property descriptor generic value image null null
|
this adds a property descriptor for the sequential feature
|
protected void add parallel property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui goal parallel feature get string ui property descriptor description ui goal parallel feature ui goal type goalmodel package e instance getgoal parallel true item property descriptor generic value image null null
|
this adds a property descriptor for the parallel feature
|
protected void add dependency from property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui goal dependency from feature get string ui property descriptor description ui goal dependency from feature ui goal type goalmodel package e instance getgoal dependency from true null null null
|
this adds a property descriptor for the dependency from feature
|
protected void add dependency to property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui goal dependency to feature get string ui property descriptor description ui goal dependency to feature ui goal type goalmodel package e instance getgoal dependency to true null null null
|
this adds a property descriptor for the dependency to feature
|
protected void add mode property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui goal mode feature get string ui property descriptor description ui goal mode feature ui goal type goalmodel package e instance getgoal mode true item property descriptor generic value image null null
|
this adds a property descriptor for the mode feature
|
public collection get children features object object if children features null super get children features object children features add goalmodel package e instance getgoal goal children features add goalmodel package e instance getgoal rule children features add goalmodel package e instance getgoal input children features add goalmodel package e instance getgoal output children features add goalmodel package e instance getgoal property return children features
|
this specifies how to implement
|
public object get image object object return get resource locator get image full obj16 goal
|
this returns goal
|
public string get text object object string label goal object get name return label null label length 0 get string ui goal type get string ui goal type label
|
this returns the label text for the adapted class
|
public adapter create time value adapter return null
|
creates a new adapter for an object of class
|
public string get create child text object owner object feature object child collection selection object child feature feature object child object child boolean qualify child feature goalmodel package e instance getgoal input child feature goalmodel package e instance getgoal output if qualify return get string ui create child text2 new object get type text child object get feature text child feature get type text owner return super get create child text owner feature child selection
|
this returns the label text for
|
public adapter create type declaration adapter return null
|
creates a new adapter for an object of class
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.