示例#1
0
 public EntityImpl() throws Exception {
   bmp = Outside.service(this, "gus.file.filter.ext.istype.image.bmp");
   gif = Outside.service(this, "gus.file.filter.ext.istype.image.gif");
   jpg = Outside.service(this, "gus.file.filter.ext.istype.image.jpg");
   png = Outside.service(this, "gus.file.filter.ext.istype.image.png");
   tiff = Outside.service(this, "gus.file.filter.ext.istype.image.tiff");
 }
示例#2
0
 public EntityImpl() throws Exception {
   execute = Outside.service(this, "gus.sys.script1.tool.execute.tag");
   getContent = Outside.service(this, "gus.sys.script1.access.tag.content1");
   getName = Outside.service(this, "gus.sys.script1.access.tag.name0");
   getParams = Outside.service(this, "gus.sys.script1.access.tag.params1");
   evaluate = Outside.service(this, "gus.sys.script1.context.evaluate");
 }
示例#3
0
  public EntityImpl() throws Exception {
    findIcon = Outside.service(this, "gus.find.icon");
    findColor = Outside.service(this, "gus.find.color");
    findFont = Outside.service(this, "gus.find.font");

    color = DEFAULT_COLOR;
    font = DEFAULT_FONT;
  }
示例#4
0
  public EntityImpl() throws Exception {
    bar = Outside.service(this, "gus.app.mainframe.menubar");
    menuBar = (JMenuBar) bar.i();

    add(Outside.service(this, "gus.appli.laboscript.menu.menu1"));

    menuBar.repaint();
  }
示例#5
0
  public EntityImpl() throws Exception {
    readFile = Outside.service(this, "gus.file.read.properties");
    writeFile = Outside.service(this, "gus.file.write.properties");

    storeDir = (File) Outside.resource(this, "defaultdir");
    propFile = new File(storeDir, FILENAME);

    if (propFile.exists()) map = (Map) readFile.t(propFile);
  }
示例#6
0
  public EntityImpl() throws Exception {
    map = new HashMap();

    put("invert", Outside.service(this, "gus.string.transform.character.order.invert"));
    put("permute", Outside.service(this, "gus.string.transform.character.order.permute"));
    put("permuteinv", Outside.service(this, "gus.string.transform.character.order.permute.inv"));
    put("shuffle", Outside.service(this, "gus.string.transform.character.order.shuffle"));
    put("sort", Outside.service(this, "gus.string.transform.character.order.sort"));
  }
示例#7
0
  public EntityImpl() throws Exception {
    viewer1 = Outside.service(this, "*gus.sys.base1.gui.viewer1");
    viewer2 = Outside.service(this, "*gus.sys.base1.gui.viewer2");
    search1 = Outside.service(this, "*gus.sys.base1.gui.search1");

    tab = new JTabbedPane();
    tab.addTab("ID View", (JComponent) viewer1.i());
    tab.addTab("Field View", (JComponent) viewer2.i());
    tab.addTab("Search View", (JComponent) search1.i());
  }
示例#8
0
  public EntityImpl() throws Exception {
    findCaretWord = Outside.service(this, "gus.swing.textcomp.caretword.find");
    replaceCaretWord = Outside.service(this, "gus.swing.textcomp.caretword.replace");
    dialog = Outside.service(this, "gus.input.choose.dialog");
    getOpMap = Outside.service(this, "gus.sys.expression1.apply.opmap");

    Map map = (Map) getOpMap.g();

    names = new ArrayList(map.keySet());
    Collections.sort(names);
  }
示例#9
0
  public EntityImpl() throws Exception {
    tabHolder = Outside.service(this, "*gus.swing.tabbedpane.holder1");

    mainViewer = Outside.service(this, "*gus.app.main.gui.viewer");
    rbViewer = Outside.service(this, "*gus.app.main.rb.gui.viewer");
    propViewer = Outside.service(this, "*gus.app.prop.gui.viewer");
    pathViewer = Outside.service(this, "*gus.app.path.gui.viewer");

    tabHolder.v("All", mainViewer.i());
    tabHolder.v("RB", rbViewer.i());
    tabHolder.v("Prop", propViewer.i());
    tabHolder.v("Path", pathViewer.i());
  }
示例#10
0
  public EntityImpl() throws Exception {
    formPanel = Outside.service(this, "*gus.swing.panel.formpanel");
    findFeatures = Outside.service(this, "gus.app.entity.objtofeatures");
    findName = Outside.service(this, "entityobjtoname");

    labelName = new JLabel(" ");
    labelDate = new JLabel(" ");
    labelFeatures = new JLabel(" ");

    formPanel.v("Entity name", labelName);
    formPanel.v("Creation date", labelDate);
    formPanel.v("Features", labelFeatures);
  }
示例#11
0
  public EntityImpl() throws Exception {
    okCancel = Outside.service(this, "gus.swing.dialog.blocked1.okcancel");
    selector = Outside.service(this, "*gus.sys.listchooser1.gui.selector1");
    buildLabelTitle = Outside.service(this, "gus.swing.label.build.titlelabel1");

    selectorComp = (JComponent) selector.i();
    labelTitle = (JLabel) buildLabelTitle.i();

    panel = new JPanel(new BorderLayout());
    panel.add(labelTitle, BorderLayout.NORTH);
    panel.add(selectorComp, BorderLayout.CENTER);

    selector.addActionListener(this);
  }
示例#12
0
  public EntityImpl() throws Exception {
    pipe_t = Outside.service(this, "gus.feature.op.pipe.t");
    pipe_h = Outside.service(this, "gus.feature.op.pipe.h");
    pipe_map = Outside.service(this, "gus.feature.op.pipe.map");
    pipe_list = Outside.service(this, "gus.feature.op.pipe.list");

    loop_t = Outside.service(this, "gus.feature.op.loop.t");
    loop_h = Outside.service(this, "gus.feature.op.loop.h");

    toArray_t = Outside.service(this, "gus.convert.objarraytotarray.strict");
    toArray_h = Outside.service(this, "gus.convert.objarraytoharray.strict");
    toArray_map = Outside.service(this, "gus.convert.objarraytomaparray.strict");
    toArray_list = Outside.service(this, "gus.convert.objarraytolistarray.strict");
  }
示例#13
0
 private void typed_enter() {
   try {
     okCancel.v("do", "ok");
   } catch (Exception e) {
     Outside.err(this, "typed_enter()", e);
   }
 }
示例#14
0
 private void typed_escape() {
   try {
     okCancel.v("do", "cancel");
   } catch (Exception e) {
     Outside.err(this, "typed_escape()", e);
   }
 }
示例#15
0
  public EntityImpl() throws Exception {
    factory = Outside.service(this, "gus.io.printstream.factory.multi.hist");

    p1 = (PrintStream) factory.g();
    ((P) p1).p(System.err);
    System.setErr(p1);
  }
示例#16
0
 private JComponent errComp(Exception e) {
   try {
     return (JComponent) errGuiBuilder.t(e);
   } catch (Exception e1) {
     Outside.err(this, "errComp(Exception)", e1);
   }
   return null;
 }
示例#17
0
 private void ok() {
   try {
     ok = true;
     dialog.p(null);
   } catch (Exception e) {
     Outside.err(this, "ok()", e);
   }
 }
示例#18
0
 private Object get_(R r, String key) {
   try {
     return r.r(key);
   } catch (Exception e) {
     Outside.err(this, "get_(R,String)", e);
   }
   return null;
 }
示例#19
0
 private void cancel() {
   try {
     ok = false;
     dialog.p(null);
   } catch (Exception e) {
     Outside.err(this, "cancel()", e);
   }
 }
示例#20
0
 private boolean check(Service s, File f) {
   try {
     return s.f(f);
   } catch (Exception e) {
     Outside.err(this, "check(Service,File)", e);
     return false;
   }
 }
示例#21
0
 private void add(Service s) {
   try {
     JMenu menu = (JMenu) s.i();
     if (menu != null) menuBar.add(menu);
   } catch (Exception e) {
     Outside.err(this, "add(String)", e);
     menuBar.add(new JMenu("###"));
   }
 }
示例#22
0
 private JComponent findComp(G g) {
   try {
     Object result = g.g();
     if (result instanceof Exception) return errComp((Exception) result);
     return (JComponent) findComp.t(result);
   } catch (Exception e) {
     Outside.err(this, "findComp(G)", e);
     return errComp(e);
   }
 }
示例#23
0
  public EntityImpl() throws Exception {
    accessImage = Outside.service(this, "gus.clipboard.access.image");
    accessListFiles = Outside.service(this, "gus.clipboard.access.listfiles");
    accessString = Outside.service(this, "gus.clipboard.access.string");

    convertImage = Outside.service(this, "gus.sys.clipboard1.g.listfiles.convertimage");
    convertString = Outside.service(this, "gus.sys.clipboard1.g.listfiles.convertstring");
    openList = Outside.service(this, "gus.awt.desktop.open.listfiles");
  }
示例#24
0
  public EntityImpl() throws Exception {
    mapCompleteK = Outside.service(this, "gus.data.compare.map.completekey");
    mapCompleteKV = Outside.service(this, "gus.data.compare.map.completekeyvalue");
    mapIncompleteK = Outside.service(this, "gus.data.compare.map.incompletekey");
    mapIncompleteKV = Outside.service(this, "gus.data.compare.map.incompletekeyvalue");

    setComplete = Outside.service(this, "gus.data.compare.set.complete");
    setIncomplete = Outside.service(this, "gus.data.compare.set.incomplete");
  }
示例#25
0
 public EntityImpl() throws Exception {
   repaintLabel = Outside.service(this, "gus.swing.label.cust2.display");
 }
示例#26
0
 public EntityImpl() throws Exception {
   builder = Outside.service(this, "gus.filter.string.build.endswith");
   filterInv = Outside.service(this, "gus.feature.op.filter.inv");
   perform = Outside.service(this, "gus.map.value.filter");
 }
示例#27
0
 public EntityImpl() throws Exception {
   perform = Outside.service(this, "gus.data.perform.addnew");
 }
示例#28
0
 public EntityImpl() throws Exception {
   builder = Outside.service(this, "gus.filter.string.build.endswith");
   perform = Outside.service(this, "gus.data.perform.findall");
 }
示例#29
0
 public EntityImpl() throws Exception {
   findObj = Outside.service(this, "gus.sys.store.obj.find");
   custComp = Outside.service(this, "gus.swing.comp.cust3.map1");
 }
示例#30
0
 public EntityImpl() throws Exception {
   listing = Outside.service(this, "gus.dir.listing0.names");
 }