Posts

Showing posts from 2013

RAC Customization - Useful Static Methods - Part II

  Useful Static Methods - Part II Few more static methods developed during our customization... Sharing the same to you.. :) 1.  /* Show ootb properties dialog  * @param selectedComponent  */ public static void showProperties (TCComponent selectedComponent) { final Registry comdReg = Registry.getRegistry("com.teamcenter.rac.common.actions.actions");  try { AbstractAIFCommand cmd = (AbstractAIFCommand) comdReg.newInstanceFor("propertiesCommand", new Object[] { selectedComponent, AIFDesktop.getActiveDesktop() }); cmd.executeModeless(); } catch (Exception ex) { ex.printStackTrace(); } } ----------------------------------------------------------------------------------------------------------- 2.  /* Scroll the panel to top  * @param scrollPanel*/ public static void scrollToTop (final JScrollPane scrollPanel) { SwingUtilities.invokeLater(new Runnable() { public void run() { scroll

RAC Customization - Usefull Static Methods - Part I

RAC Customization - Static Methods In every project, there will be a package called " common ", which have classes consist of generic static methods. These methods reduces time, duplication of code, etc.. Below are the few static methods which are created for my project.. I guess, these methods will be very common in every project.. 1. /** Method to check whether an item exists in the database with given ID */     public static boolean isItemExists (TCSession tceSession, String itemId)     throws TCException {         String msg = "";         TCComponentQuery tceItemQuery = null;                TCComponentQueryType qType = (TCComponentQueryType) tceSession.getTypeComponent("ImanQuery");         tceItemQuery = (TCComponentQuery) qType.find("Item...");               String entry[] = { "Item ID" };         String value[] = { itemId };         TCComponent[] result = tceItemQuery.execute(entry, value);         if

RAC Customization - Eclipse Debug mode Setup

Image
TC Debug Configuration Using Eclipse.   In this post, we will see how to configure debug mode in eclipse for RAC customization. The use of configuring debug mode is such that you can test your functionality from eclipse instead of exporting to jar, running the registry and restarting Teamcenter...     Major Steps:                Setting up TCE Debug Configuration involves two major steps, i.e., Set Target Platform, Set Debug Properties.  Target Platform:               We have to set target platform, so that eclipse will refer TC jars to its workspace. Perform the below instructions to set target platform..   To Open Preferences dialog, Click Windows Menu -->  Preferences .  Under Preferences dialog, select Plug-in Development option, which will be present on   the left pane. Under Plug-in Development option, select Target Platform. An pictorial representation is shown below. Continued,...  Select Running Platform (Active) option,

Installation of Teamcenter 8.3 - 2T

Image
Hi All, The first and foremost step we need to take for learning Teamcenter, is to install them first. :) In this post we will see step by step instructions for installing Teamcenter 8.3.. Here we go!! Prerequisites: Make sure your Teamcenter 8.3 host runs one of the following supported platforms: • Windows • HP-UX • AIX • Solaris • Linux For information about versions of operating systems, third-party software,Teamcenter software,  and system hardware certified for your platform, see the UGS PLM Software Certification Database: http://support.ugs.com/online_library/certification/ To use the certification database, choose the platform and products you use, then click Show Certifications. Installation Outline: Teamcenter : Installation of Teamcenter is explained thorough this presentation. Compatible OS/ compatible software:  Microsoft Windows XP, Windows 2003 Server Oracle 10g or 11g Teamcenter 8.3 Installation process:     First set up/ install