input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
public void set path final file file final object source set path file fire property change property type path to string source get path | sets the path |
public void set clean final boolean clean this clean clean | sets the flag value to clean |
public void add property change listener final property change listener l property change support add property change listener l | adds a property change listener to the observer list |
public void remove property change listener final property change listener l property change support remove property change listener l | removes a property change listener from the observer list |
public void set path final string file path properties set property property type path to string file path set current state state modified | sets the path |
private void set path file file app util show abrir carpeta this this get class get simple name null if file null set root folder file get path | sets the path |
public void set path final string file path final object source set path file path fire property change property type path to string source get path | sets the path |
public void set model modified final boolean model modified set current state state modified | sets the model modified |
public void set root folder final string root folder this root folder root folder txt path set text root folder | sets the root folder |
public token maker type get type return type | gets the type |
public void set type final token maker type type this type type init | sets the type |
public token marker get token marker if token maker null try token maker token marker app util class for name type to string null catch exception e log error e e return token maker | gets the token marker |
private void add file final file file final file filter filter if file is directory file files file list files filter for file item file files add file item file filter else file combo add item file get path | adds the file |
public int get version return integer parse int properties get property property type version to string | gets the version |
public void set version final int version properties set property property type version to string version set current state state modified | sets the version |
public void set version final int version final object source set version version fire property change property type version to string source version | sets the version |
public string get titulo return | gets the titulo |
private void add default types log info adding default datatypes final properties data types new properties try data types load get class get resource as stream data types properties catch ioexception e log error e get message e org omg uml modelmanagement uml package paquete umlutil crear paquete tipos de dato paquete set namespace modelo principal for enumeration en data types keys en has more elements final string key en next element to string final data type type umlutil crear tipo dato type set namespace paquete type set name data types get property key log info loading data type key | adds the default types |
public string get gen path return get path generated | gets the gen path |
public gr clase get association class class final iterator graph element i modelo get contained iterator while i has next graph element ge i next if ge instanceof graph node graph node gn graph node ge map props elemento visual util get propiedades gn string node type string props get constantes model node type if gr clase class get name equals node type elemento visual vge graficador get elemento visual gn if vge instanceof gr clase return gr clase vge return null | gets the class that belongs to this association class |
public gr clase asociacion lnk get association class link final iterator graph element i modelo get contained iterator while i has next graph element ge i next if ge instanceof graph edge graph edge g edge graph edge ge map props elemento visual util get propiedades g edge string edge type string props get constantes model edge type if gr clase asociacion lnk class get name equals edge type elemento visual vge graficador get elemento visual g edge if vge instanceof gr clase asociacion lnk return gr clase asociacion lnk vge return null | gets the link contained by this association class |
public void set gen path final string gen path properties set property property type genpath to string gen path | sets the gen path |
public void set gen path final string gen path final object source set gen path gen path fire property change property type genpath to string source get gen path | sets the gen path |
public string get db name return properties get property property type db name to string | gets the db name |
public void set db name final string db name properties set property property type db name to string db name set current state state modified | sets the db name |
public void set property viewer final vista property viewer this property viewer property viewer | sets the property viewer |
public void set db name final string db name final object source set db name db name fire property change property type db name to string source get db name | sets the db name |
public int get snap size return snap size | gets the s na p size |
public string get dbms return properties get property property type dbms to string | gets the dbms |
public void set snap size final int snap size this snap size snap size | sets the s na p size |
public void set dbms final string dbms properties set property property type dbms to string dbms set current state state modified | sets the dbms |
public void set dbms final string dbms final object source set dbms dbms fire property change property type dbms to string source get dbms | sets the dbms |
public void set generate bussiness final boolean generate bussiness properties set property property type generate bussiness to string generate bussiness set current state state modified | sets the generate bussiness |
public void set generate data final boolean generate data properties set property property type generate data to string generate data set current state state modified | sets the generate data |
public void set generate presentation final boolean generate presentation properties set property property type generate presentacion to string generate presentation set current state state modified | sets the generate presentation |
public string get template return properties get property property type template to string | gets the template |
public void set template final string template properties set property property type template to string template set current state state modified | sets the template |
public void set template final string template final object source set template template fire property change property type template to string null get template | sets the template |
public void set modelo final string source class fire property change property type modelo principal null source class | sets the modelo |
public string get lines string builder buffer new string builder component comps get components for int i 0 i nlines i jlabel lcomp jlabel comps i buffer append lcomp get text r n return buffer to string | gets a string representation of this label for testing purposes only |
public graph node get nodo logico return modelo | gets the nodo logico |
protected void set size without snap int nwidth int nheight super set size nwidth nheight update ui | sets the size without snap |
protected dimension get parent size dimension d new dimension gr diagrama ancho max gr diagrama alto max return d | gets the parent size |
public void set designtime boolean design time this design time design time if design time set cursor new cursor cursor hand cursor component listeners add specific listeners for component listeners elem componentes elem remove previous listeners else set cursor new cursor cursor default cursor component listeners remove specific listeners for component listeners elem componentes elem add previous listeners | sets the designtime |
public void set drag boolean drag this drag drag | sets the drag |
public void set fore color color new color fore color new color | sets the fore color |
public void set back color color new color back color new color | sets the back color |
public void set select color color new color select color new color | sets the select color |
public gr linea visual get linea by punto final point p for gr linea visual elem lineas if elem contains point p return elem return null | gets an edge that contains the specified point |
public color get select color return select color | gets the select color |
public void set selected boolean selected set drag selected is selected selected update ui | sets the selected |
public elemento visual get elemento visual final graph element element for gr nodo visual elem nodos if elem get nodo logico equals element return elem for gr linea visual elem lineas if elem get linea logica equals element return elem log warn retorno nulo return null | gets the visual correspondent of some logical graph element |
private void add nodo visual final gr nodo visual node node add mouse listener new mouse adapter override public void mouse pressed final mouse event evt mouse has pressed in node evt override public void mouse released final mouse event evt mouse has released in node evt node add mouse motion listener new mouse motion adapter override public void mouse dragged final mouse event evt mouse has dragged in node evt nodos add node add node fix solamente debe actualizar el arbol y a si mismo change model | adds a visual graph node to the diagram and registers the listeners for |
public void add previous listeners for mouse listener next mouse listener previous mouse listeners c add mouse listener next mouse listener for mouse motion listener next mouse listener previous mouse motion listeners c add mouse motion listener next mouse listener if sub components null sub components size 0 for component listeners next component sub components next component add previous listeners | adds the previous listeners |
private void add linea visual final gr linea visual edge lineas add edge change model | adds the linea visual |
public void remove previous listeners for mouse listener next mouse listener previous mouse listeners c remove mouse listener next mouse listener for mouse motion listener next mouse listener previous mouse motion listeners c remove mouse motion listener next mouse listener if sub components null sub components size 0 for component listeners next component sub components next component remove previous listeners | removes the previous listeners |
public void add specific listeners for mouse listener next mouse listener specific mouse listeners c add mouse listener next mouse listener for mouse motion listener next mouse listener specific mouse motion listeners c add mouse motion listener next mouse listener if sub components null sub components size 0 for component listeners next component sub components next component add specific listeners | adds the specific listeners |
public void remove specific listeners for mouse listener next mouse listener specific mouse listeners c remove mouse listener next mouse listener for mouse motion listener next mouse listener specific mouse motion listeners c remove mouse motion listener next mouse listener if sub components null sub components size 0 for component listeners next component sub components next component remove specific listeners | removes the specific listeners |
public void cancel creacion nodo visual if nuevo nodo visual null final graph node logical node nuevo nodo visual get nodo logico final semantic model bridge smb logical node get semantic model if smb instanceof uml1 semantic model bridge try final uml1 semantic model bridge semantic bridge uml1 semantic model bridge smb final model element me semantic bridge get element final namespace namespace me get namespace namespace get owned element remove me me ref delete catch exception e log error error cancelling visual graph node creation e logical node ref delete nuevo nodo visual null | cancels the creation of a visual graph node |
public void cancel creacion linea visual if nueva linea visual null final graph edge logical edge nueva linea visual get linea logica final semantic model bridge smb logical edge get semantic model if smb instanceof uml1 semantic model bridge try final uml1 semantic model bridge semantic bridge uml1 semantic model bridge smb final model element me semantic bridge get element final namespace namespace me get namespace namespace get owned element remove me me ref delete catch exception e log error error cancelling visual graph edge creation e logical edge ref delete nueva linea visual null origen null | cancels the creation of a visual graph edge |
public diagram get diagram return diagrama | gets the diagram |
public diagram get diagrama return diagrama | gets the diagrama |
protected void add menu item final jmenu item item menu add item | adds the menu item |
public void add listener final editor listener listener | adds the listener |
public controller proyecto get controller return controller | gets the controller |
public void set controller final controller proyecto controller this controller controller | sets the controller |
public void set update model final boolean update model this update model update model | sets the update model |
private void set path file f app util show guardar carpeta this generar codigo if f null try txt path set text f get absolute path catch exception ex log error ex | sets the path |
public jcheck box get chk capa datos return chk capa datos | gets the chk capa datos |
public jcheck box get chk capa negocio return chk capa negocio | gets the chk capa negocio |
public jcheck box get chk capa presentacion return chk capa presentacion | gets the chk capa presentacion |
public jtext field get txt db return txt db | gets the txt db |
public jtext field get txt path return txt path | gets the txt path |
public proyecto get project return project | gets the project |
public project get ant project return ant project | gets the ant project |
public void set ant project project ant project this ant project ant project | sets the ant project |
public string get ant project path return ant project path | gets the ant project path |
public void set ant project path string ant project path this ant project path ant project path | sets the ant project path |
private void find paths menu item action performed find paths | find paths menu item action performed |
public void set selected final boolean p is selected is selected p is selected if is selected selectedpointindex 1 if is selected set paint color get select color else set paint color get fore color | sets the selected |
protected void set tracedline final boolean p tracedline tracedline p tracedline | sets the tracedline |
private void save menu item action performed save | save menu item action performed |
public boolean get tracedline return tracedline | gets the tracedline |
protected void set arrow1 final boolean p arrow1 arrow1 p arrow1 | sets the arrow1 |
protected void set arrow2 final boolean p arrow2 arrow2 p arrow2 | sets the arrow2 |
protected void set fat arrow1 final boolean p fatarrow1 fatarrow1 p fatarrow1 | sets the fat arrow1 |
protected void set fat arrow2 final boolean p fatarrow2 fatarrow2 p fatarrow2 | sets the fat arrow2 |
protected void set filled fat arrow1 final boolean p filledfatarrow1 filledfatarrow1 p filledfatarrow1 | sets the filled fat arrow1 |
private void add diagram menu item action performed add diagrama | adds the diagram menu item action performed |
protected void set filled fat arrow2 final boolean p filledfatarrow2 filledfatarrow2 p filledfatarrow2 | sets the filled fat arrow2 |
private void remove diagram menu item action performed remove diagrama | removes the diagram menu item action performed |
private void add elem menu item action performed add elemento | adds the elem menu item action performed |
protected void set agreg1 final boolean p agreg1 agreg1 p agreg1 | sets the agreg1 |
private void add fin asociacion if util app util show confirmar null advertencia seguro que quiere agregar un fin de asociacion association end ase umlutil crear asociacion end ase set association get element get element get connection add ase modelo asoc ends add new nodo elemento ase | adds the fin asociacion |
protected void set agreg2 final boolean p agreg2 agreg2 p agreg2 | sets the agreg2 |
private void remove elem menu item action performed remove elemento | removes the elem menu item action performed |
protected void set by value1 final boolean p byvalue1 byvalue1 p byvalue1 | sets the by value1 |
public void set element model element element this element element | sets the element |
public graph element get graph element if graph element null graph element elemento visual util get graph element element return graph element | gets the graph element |
public void set graph element graph element graph element this graph element graph element | sets the graph element |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.