Tabnine Logo
BrowserImp.findEntity
Code IndexAdd Tabnine to your IDE (free)

How to use
findEntity
method
in
ingenias.generator.browser.BrowserImp

Best Java code snippets using ingenias.generator.browser.BrowserImp.findEntity (Showing top 1 results out of 315)

origin: net.sf.ingenias/editor

  public void actionPerformed(ActionEvent e) {
    Log.getInstance().logERROR("Replacing");
    try {
      Vector<GraphRelationship> rels = 
          browser.findEntity(ent.getId()).getAllRelationships();
      Entity newent = ConvertUtils.convert(state,ent.getId(), ent.getType(),
          current);
      for (int j=0;j<rels.size();j++){
        ((GraphRelationshipImp)rels.elementAt(j)).getNAryEdge().replace(ent.getId(),newent);
      }
      Vector<ModelJGraph> models = state.gm.getUOModels();
      for (int j=0;j<models.size();j++){
        GraphModel mjg = models.elementAt(j).getModel();
        for (int l=0;l<mjg.getRootCount();l++){
          if (((DefaultGraphCell)mjg.getRootAt(l)).getUserObject().equals(ent)){
            ((DefaultGraphCell)mjg.getRootAt(l)).setUserObject(newent);
            Log.getInstance().logERROR("Replaced in model "+models.elementAt(j).getName());
          }
        }
      }
    }
    catch (Exception e1) {
      e1.printStackTrace();
      Log.getInstance().log(e1.getMessage());
    }
  }
});
ingenias.generator.browserBrowserImpfindEntity

Popular methods of BrowserImp

  • <init>
    Constructor for the BrowserImp object
  • checkEntity
  • checkFields
  • containedIntoAttributes
  • evaluateCollectionValueField
  • evaluateEntityValueField
  • evaluateSimpleValueField
  • findAllDifferences
  • getAllEntities
    Gets the allEntities attribute of the BrowserImp object
  • getGraph
    Gets the graph attribute of the BrowserImp object
  • getGraphs
    Obtains all existing graphs
  • initialise
    Initialises the diagram browser with a INGENIAS specification file
  • getGraphs,
  • initialise

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Option (scala)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now