Example #1
0
  // New implementation
  public JopSession(JopEngine engine, Object rootObject) {
    // Create a JopSessionRep object which class is not known by the compiler
    try {
      Class clazz = Class.forName("jpwr.jop.JopSessionRep");
      try {
        sessionRep = clazz.newInstance();
      } catch (InstantiationException e) {
        System.out.println("InstatiationException");
      } catch (IllegalAccessException e) {
        System.out.println("IllegalAccessException");
      }
    } catch (ClassNotFoundException e) {
      System.out.println("Class not found");
    }

    ((JopSessionIfc) sessionRep).setSession(this);
    ((JopSessionIfc) sessionRep).setRoot(rootObject);
    ((JopSessionIfc) sessionRep).setEngine(engine);
  }
Example #2
0
 public void openFast(String fastObject) {
   ((JopSessionIfc) sessionRep).openFast(fastObject);
 }
Example #3
0
 public void openTrend(String[] trendList) {
   ((JopSessionIfc) sessionRep).openTrend(trendList);
 }
Example #4
0
 public void setOpWindowLanguage(int language) {
   ((JopSessionIfc) sessionRep).setOpWindowLanguage(language);
 }
Example #5
0
 public void setOpWindowLabelText(String text) {
   ((JopSessionIfc) sessionRep).setOpWindowLabelText(text);
 }
Example #6
0
 public void openSearch(String object) {
   ((JopSessionIfc) sessionRep).openSearch(object);
 }
Example #7
0
 public void openNavigator(PwrtObjid oid) {
   ((JopSessionIfc) sessionRep).openNavigator(oid);
 }
Example #8
0
 public void addUtility(Object utility) {
   ((JopSessionIfc) sessionRep).addUtility(utility);
 }
Example #9
0
 public void openFlowFrame(PwrtObjid oid, String center) {
   ((JopSessionIfc) sessionRep).openFlowFrame(oid, center);
 }
Example #10
0
 public void openGraphFrame(String name, String instance, boolean scrollbar, boolean classGraph) {
   ((JopSessionIfc) sessionRep).openGraphFrame(name, instance, scrollbar, classGraph);
 }
Example #11
0
 public void openLanguage() {
   ((JopSessionIfc) sessionRep).openLanguage();
 }
Example #12
0
 public void openLogin() {
   ((JopSessionIfc) sessionRep).openLogin();
 }
Example #13
0
 public void openEventLog() {
   ((JopSessionIfc) sessionRep).openEventLog();
 }
Example #14
0
 public void openAlarmList() {
   ((JopSessionIfc) sessionRep).openAlarmList();
 }
Example #15
0
 public void openCrrFrame(String name) {
   ((JopSessionIfc) sessionRep).openCrrFrame(name);
 }
Example #16
0
 public void setLang(String lang) {
   ((JopSessionIfc) sessionRep).setLang(lang);
 }
Example #17
0
 public void executeCommand(String command) {
   ((JopSessionIfc) sessionRep).executeCommand(command);
 }
Example #18
0
 public void removeUtility(Object utility) {
   ((JopSessionIfc) sessionRep).removeUtility(utility);
 }
Example #19
0
 public void setNavigator(Object navigator) {
   ((JopSessionIfc) sessionRep).setNavigator(navigator);
 }