input
stringlengths
10
828
output
stringlengths
5
107
protected support get fixture return fixture
returns the fixture for this support test case
protected void set fixture context fixture this fixture fixture
sets the fixture for this context test case
protected context get fixture return fixture
returns the fixture for this context test case
protected void set fixture comp instance fixture this fixture fixture
sets the fixture for this comp instance test case
protected comp instance get fixture return fixture
returns the fixture for this comp instance test case
protected void set fixture component system fixture this fixture fixture
sets the fixture for this component system test case
protected void set fixture port fixture this fixture fixture
sets the fixture for this port test case
protected component system get fixture return fixture
returns the fixture for this component system test case
protected port get fixture return fixture
returns the fixture for this port test case
protected void set fixture interface fixture this fixture fixture
sets the fixture for this interface test case
protected interface get fixture return fixture
returns the fixture for this interface test case
protected void set fixture entity fixture this fixture fixture
sets the fixture for this entity test case
protected entity get fixture return fixture
returns the fixture for this entity test case
protected node get fixture return fixture
returns the fixture for this node test case
protected void set fixture application system fixture this fixture fixture
sets the fixture for this application system test case
protected application system get fixture return fixture
returns the fixture for this application system test case
protected void set fixture action fixture this fixture fixture
sets the fixture for this action test case
protected action get fixture return fixture
returns the fixture for this action test case
protected void set fixture instance fixture this fixture fixture
sets the fixture for this instance test case
protected instance get fixture return fixture
returns the fixture for this instance test case
protected void set fixture info fixture this fixture fixture
sets the fixture for this info test case
protected info get fixture return fixture
returns the fixture for this info test case
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 context name feature get string ui property descriptor description ui context name feature ui context type agents package literals context name true false false item property descriptor generic value image null null
this adds a property descriptor for the name feature
protected void add entity 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 context entity feature get string ui property descriptor description ui context entity feature ui context type agents package literals context entity true false true null null null
this adds a property descriptor for the entity feature
protected void add interface 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 context interface feature get string ui property descriptor description ui context interface feature ui context type agents package literals context interface true false true null null null
this adds a property descriptor for the interface 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 entity name feature get string ui property descriptor description ui entity name feature ui entity type agents package literals entity name true false false item property descriptor generic value image null null
this adds a property descriptor for the name feature
protected void add art refs 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 entity art refs feature get string ui property descriptor description ui entity art refs feature ui entity type agents package literals entity art refs true false true null null null
this adds a property descriptor for the art refs feature
protected void add mutual exclusion 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 artifact operation mutual exclusion feature get string ui property descriptor description ui artifact operation mutual exclusion feature ui artifact operation type agents package literals artifact operation mutual exclusion true false false item property descriptor boolean value image null null
this adds a property descriptor for the mutual exclusion feature
protected void add exception 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 artifact operation exception feature get string ui property descriptor description ui artifact operation exception feature ui artifact operation type agents package literals artifact operation exception true false false item property descriptor boolean value image null null
this adds a property descriptor for the exception 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 attribute name feature get string ui property descriptor description ui attribute name feature ui attribute type agents package literals attribute name true false false 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 attribute type feature get string ui property descriptor description ui attribute type feature ui attribute type agents package literals attribute type true false false item property descriptor generic value image null null
this adds a property descriptor for the type 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 artifact instance type feature get string ui property descriptor description ui artifact instance type feature ui artifact instance type agents package literals artifact instance type true false true null null null
this adds a property descriptor for the type 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 interface name feature get string ui property descriptor description ui interface name feature ui interface type agents package literals interface name true false false item property descriptor generic value image null null
this adds a property descriptor for the name feature
protected void add def context 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 interface def context feature get string ui property descriptor description ui interface def context feature ui interface type agents package literals interface def context true false true null null null
this adds a property descriptor for the def context feature
protected void add id 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 instance id feature get string ui property descriptor description ui instance id feature ui instance type agents package literals instance id true false false item property descriptor generic value image null null
this adds a property descriptor for the id feature
protected void add ref to art 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 instance ref to art feature get string ui property descriptor description ui instance ref to art feature ui instance type agents package literals instance ref to art true false true null null null
this adds a property descriptor for the ref to art 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 action name feature get string ui property descriptor description ui action name feature ui action type agents package literals action name true false false item property descriptor generic value image null null
this adds a property descriptor for the name feature
protected void add def context 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 component def context feature get string ui property descriptor description ui component def context feature ui component type agents package literals component def context true false true null null null
this adds a property descriptor for the def context 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 component name feature get string ui property descriptor description ui component name feature ui component type agents package literals component name true false false item property descriptor generic value image null null
this adds a property descriptor for the name feature
protected void add output 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 operation with output output type feature get string ui property descriptor description ui operation with output output type feature ui operation with output type agents package literals operation with output output type true false false item property descriptor generic value image null null
this adds a property descriptor for the output type feature
protected void add required 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 connector required feature get string ui property descriptor description ui connector required feature ui connector type agents package literals connector required true false true null null null
this adds a property descriptor for the required feature
protected void add provided 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 connector provided feature get string ui property descriptor description ui connector provided feature ui connector type agents package literals connector provided true false true null null null
this adds a property descriptor for the provided feature
protected void add id 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 connector id feature get string ui property descriptor description ui connector id feature ui connector type agents package literals connector id true false false item property descriptor generic value image null null
this adds a property descriptor for the id 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 connector type feature get string ui property descriptor description ui connector type feature ui connector type agents package literals connector type true false false item property descriptor generic value image null null
this adds a property descriptor for the type 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 agent system name feature get string ui property descriptor description ui agent system name feature ui agent system type agents package literals agent system name true false false item property descriptor generic value image null null
this adds a property descriptor for the name feature
protected void add interface 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 port interface feature get string ui property descriptor description ui port interface feature ui port type agents package literals port interface true false true null null null
this adds a property descriptor for the interface 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 port name feature get string ui property descriptor description ui port name feature ui port type agents package literals port name true false false item property descriptor generic value image null null
this adds a property descriptor for the name feature
protected void add emit 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 proto agent emit feature get string ui property descriptor description ui proto agent emit feature ui proto agent type agents package literals proto agent emit true false true null null null
this adds a property descriptor for the emit feature
protected void add perceive 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 proto agent perceive feature get string ui property descriptor description ui proto agent perceive feature ui proto agent type agents package literals proto agent perceive true false true null null null
this adds a property descriptor for the perceive feature
protected void add payload 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 info payload type feature get string ui property descriptor description ui info payload type feature ui info type agents package literals info payload type true false false item property descriptor generic value image null null
this adds a property descriptor for the payload type 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 info name feature get string ui property descriptor description ui info name feature ui info type agents package literals info name true false false item property descriptor generic value image null null
this adds a property descriptor for the name 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 component system name feature get string ui property descriptor description ui component system name feature ui component system type agents package literals component system name true false false item property descriptor generic value image null null
this adds a property descriptor for the name feature
protected void add super 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 artifact super feature get string ui property descriptor description ui artifact super feature ui artifact type agents package literals artifact super true false true null null null
this adds a property descriptor for the super feature
protected void add interface 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 artifact interface feature get string ui property descriptor description ui artifact interface feature ui artifact type agents package literals artifact interface true false true null null null
this adds a property descriptor for the interface feature
protected void add emit 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 artifact emit feature get string ui property descriptor description ui artifact emit feature ui artifact type agents package literals artifact emit true false true null null null
this adds a property descriptor for the emit feature
protected void add component 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 comp instance component feature get string ui property descriptor description ui comp instance component feature ui comp instance type agents package literals comp instance component true false true null null null
this adds a property descriptor for the component 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 comp instance name feature get string ui property descriptor description ui comp instance name feature ui comp instance type agents package literals comp instance name true false false item property descriptor generic value image null null
this adds a property descriptor for the name 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 artifact generalization target feature get string ui property descriptor description ui artifact generalization target feature ui artifact generalization type agents package literals artifact generalization target true false true null null null
this adds a property descriptor for the target feature
protected void add input 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 operation with input input type feature get string ui property descriptor description ui operation with input input type feature ui operation with input type agents package literals operation with input input type true false false item property descriptor generic value image null null
this adds a property descriptor for the input type 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 node name feature get string ui property descriptor description ui node name feature ui node type agents package literals node name true false false 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 agent instance type feature get string ui property descriptor description ui agent instance type feature ui agent instance type agents package literals agent instance type true false true null 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 ref to art target feature get string ui property descriptor description ui ref to art target feature ui ref to art type agents package literals ref to art target true false true null null null
this adds a property descriptor for the target feature
protected void add package 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 support package feature get string ui property descriptor description ui support package feature ui support type agents package literals support package true false false item property descriptor generic value image null null
this adds a property descriptor for the package 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 artifact reference name feature get string ui property descriptor description ui artifact reference name feature ui artifact reference type agents package literals artifact reference name true false false item property descriptor generic value image null null
this adds a property descriptor for the name 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 artifact reference target feature get string ui property descriptor description ui artifact reference target feature ui artifact reference type agents package literals artifact reference target true false true null null null
this adds a property descriptor for the target 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 application system name feature get string ui property descriptor description ui application system name feature ui application system type agents package literals application system name true false false item property descriptor generic value image null null
this adds a property descriptor for the name feature
public ieditor reference get editor reference return f editor reference
returns the editor reference that this editor list element wrappers
protected void set sort boolean sort f viewer set sorter sort f sorter null set tool tip text sort editor list messages get string sort editor list action do not sort 2 editor list messages get string sort editor list action sort 3 non nls 1 non nls 2 set description sort editor list messages get string sort editor list action disable sorting 4 editor list messages get string sort editor list action enable sorting 5 non nls 1 non nls 2
turns sorting on or off
public void key released key event event if event state mask 0 if event character swt del f view close selected editors else if event key code swt f5 f view refresh contents else if event character swt cr f view bring to top selected editor
handles key events in viewer
private void init viewer contents ieditor reference references get page get editor references for int i 0 i references length i add reference to viewer references i
adds the editor references from the active page to the view
public editor list element get element ieditor reference reference return editor list element f element map get reference
returns the code editor list element code that wrappers the
public editor list element remove element ieditor reference reference return editor list element f element map remove reference
removes the given editor reference from the mapping of
public editor list element add element ieditor reference reference editor list element element new editor list element reference f element map put reference element return element
adds an element to the content provider that wrappers the given
private void create toolbar actions itool bar manager toolbar get view site get action bars get tool bar manager toolbar add new sort editor list action f viewer toolbar add new open editor working set action
create the toolbars which appear on the view
private void create context menu control menu control menu manager menu mgr new menu manager pop up non nls 1 menu mgr set remove all when shown true menu mgr add menu listener new imenu listener public void menu about to show imenu manager mgr fill context menu mgr menu menu menu mgr create context menu menu control menu control set menu menu register the context menu such that other plugins may contribute to it get site register context menu menu mgr f viewer
creates a pop up menu on the given control
protected void fill context menu imenu manager menu menu add new close editor action this menu add new close all editor action this menu add new separator menu add new create editor working set action this menu add new open editor working set action menu add new separator menu add new refresh editor list action this menu add new separator iworkbench action constants mb additions
adds items to the context menu
public void close selected editors structured selection selection structured selection f viewer get selection iworkbench page page get page iterator iter selection iterator editor list element element while iter has next element editor list element iter next ieditor part editor get restored editor element get editor reference if editor null page close editor editor true refresh contents workaround to lack of ieditor reference close notifications
close the editors that are currently selected in the viewer
protected ieditor part get restored editor ieditor reference reference ieditor part part reference get editor true if part null remove editor reference reference return part
attempts to get the restored editor part for the given reference
protected iworkbench page get page return get site get page
returns the workbench page that contains this view
protected ieditor reference get selected editor iselection provider provider get view site get selection provider if provider null return null istructured selection selection istructured selection provider get selection if selection size 1 return null return editor list element selection get first element get editor reference
returns the editor that is selected in the view or code null code
public void editor closed ieditor part editor remove editor reference get reference editor
notifes this view that the given editor part has closed
public void remove editor reference ieditor reference reference reference remove property listener f listener f viewer remove f content provider get element reference f content provider remove element reference
removes the given editor reference from the view
public void add editor to viewer ieditor part editor table item items f viewer get table get items editor list element element ieditor reference reference get reference editor ensure that the reference for this editor part hasn t already been added for int i 0 num items items length i num items i element editor list element items i get data if element get editor reference reference return add reference to viewer reference
adds the given editor part to the view
protected void page change int new page index super page change new page index set graphical model if new page index 2 sort words
calculates the contents of page 2 when the it is activated
public void resource changed final iresource change event event if event get type iresource change event pre close display get default async exec new runnable public void run iworkbench page pages get site get workbench window get pages for int i 0 i pages length i if file editor input editor get editor input get file get project equals event get resource ieditor part editor part pages i find editor editor get editor input pages i close editor editor part true if event get type iresource change event pre build set graphical model
closes all project files on project close
protected algorithm handler get exception controller return exception controller
getter method for the b exception controller b property
public void set exception controller algorithm handler exception controller this exception controller exception controller
setter method for the b exception controller b property
protected boolean is propagate exception return propagate exception
getter method for the b propagate exception b property
public void set propagate exception boolean propagate exception this propagate exception propagate exception
setter method for the b propagate exception b property
protected algorithm handler get finally controller return finally controller
getter method for the b finally controller b property
public void set finally controller algorithm handler finally controller this finally controller finally controller
setter method for the b finally controller b property
public void set algorithm handlers array list algorithm handler algorithm handlers this algorithm handlers algorithm handlers
allocates an array of request handlers to be processed when a request is
private jdialog get jdialog if j dialog null j dialog new jdialog j dialog set size new dimension 464 318 j dialog set location relative to null j dialog set title fabrica j dialog set content pane get jcontent pane menu principal return j dialog
this method initializes j dialog
private jbutton get btn productos if btn producto null btn producto new jbutton btn producto set bounds new rectangle 27 77 90 25 btn producto set text producto btn producto add action listener new java awt event action listener public void action performed java awt event action event e uiproducto ui producto new uiproducto modelo plan produccion ui producto set visible true return btn producto
this method initializes btn telefonista
private void initialize this set size 698 331 this set content pane get jcontent pane this set title listados
this method initializes this
private void initialize this set size 735 341 this set content pane get jcontent pane this set title plan de produccion actualizar lista
this method initializes this
private jbutton get btn pedidos if btn pedido null btn pedido new jbutton btn pedido set bounds new rectangle 27 199 90 25 btn pedido set text pedidos btn pedido add action listener new java awt event action listener public void action performed java awt event action event e uipedido ui pedido new uipedido modelo plan produccion ui pedido set visible true return btn pedido
this method initializes btn administrador
private jscroll pane get jscroll pane if j scroll pane null j scroll pane new jscroll pane j scroll pane set bounds new rectangle 5 36 675 219 j scroll pane set viewport view get jtable return j scroll pane
this method initializes j scroll pane
private jbutton get btn clientes if btn cliente null btn cliente new jbutton btn cliente set bounds new rectangle 27 138 90 25 btn cliente set text clientes btn cliente add action listener new java awt event action listener public void action performed java awt event action event e uicliente ui cliente new uicliente ui cliente set visible true return btn cliente
this method initializes btn tecnico
private jtable get jtable if j table null j table new jtable get tab model private static final long serial version uid 1 l public boolean is cell editable int row int column return false return j table
this method initializes j table