// 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); }
public void openFast(String fastObject) { ((JopSessionIfc) sessionRep).openFast(fastObject); }
public void openTrend(String[] trendList) { ((JopSessionIfc) sessionRep).openTrend(trendList); }
public void setOpWindowLanguage(int language) { ((JopSessionIfc) sessionRep).setOpWindowLanguage(language); }
public void setOpWindowLabelText(String text) { ((JopSessionIfc) sessionRep).setOpWindowLabelText(text); }
public void openSearch(String object) { ((JopSessionIfc) sessionRep).openSearch(object); }
public void openNavigator(PwrtObjid oid) { ((JopSessionIfc) sessionRep).openNavigator(oid); }
public void addUtility(Object utility) { ((JopSessionIfc) sessionRep).addUtility(utility); }
public void openFlowFrame(PwrtObjid oid, String center) { ((JopSessionIfc) sessionRep).openFlowFrame(oid, center); }
public void openGraphFrame(String name, String instance, boolean scrollbar, boolean classGraph) { ((JopSessionIfc) sessionRep).openGraphFrame(name, instance, scrollbar, classGraph); }
public void openLanguage() { ((JopSessionIfc) sessionRep).openLanguage(); }
public void openLogin() { ((JopSessionIfc) sessionRep).openLogin(); }
public void openEventLog() { ((JopSessionIfc) sessionRep).openEventLog(); }
public void openAlarmList() { ((JopSessionIfc) sessionRep).openAlarmList(); }
public void openCrrFrame(String name) { ((JopSessionIfc) sessionRep).openCrrFrame(name); }
public void setLang(String lang) { ((JopSessionIfc) sessionRep).setLang(lang); }
public void executeCommand(String command) { ((JopSessionIfc) sessionRep).executeCommand(command); }
public void removeUtility(Object utility) { ((JopSessionIfc) sessionRep).removeUtility(utility); }
public void setNavigator(Object navigator) { ((JopSessionIfc) sessionRep).setNavigator(navigator); }